
full-stack dev. building in crypto, AI, and boring business software. previously built @brightside_gg
Joined February 2025
- Tweets465
- Following2K
- Followers227
- Likes1K
Your API gets 1k requests at once. Some fail before they can run a single query. Postgres says "too many clients."
the fix is connection pooling.
Say your API opens a fresh DB connection for every request. It works fine in dev because there aren’t many requests hitting the DB at the same time. Then traffic spikes and hundreds of requests try to connect at once. Once Postgres runs out of connection slots available to your app, it starts turning new connections away.
So you set up a pool of 10 connections. A request checks one out, runs its query, and hands it back. The next request can use that same connection. If all 10 are checked out, the 11th request waits for one to free up.
A few weeks later, traffic grows and you scale to 20 API instances. Each instance has its own pool of 10. Now your app can open up to 200 connections to the same DB, even though the pool size is still 10 in your config.
Say requests are still queuing and you bump the pool size to 500 per instance. If Postgres is already struggling to finish the queries it has, giving it more to run at once can make those queries take longer. Requests can end up waiting longer even after they get a connection.
Before you touch the pool size, measure how long requests wait to check out a connection and how long the queries take once they have one. If checkout gets slower while query times stay flat, look at what’s keeping the pool busy. If the queries themselves slow down, start with the queries and the load on Postgres.
2
31
Replying to @CoinDCX
Withdraw all funds from CoinDCX if you value your assets.
Its co-founders are clowns running a circus.
They publicly and privately denied a theft of its assets occurred meaning they straight up lied or are negligently incompetent.
Later they disclosed the $16M theft and wasted everyone’s time instead of being transparent with the public initially.
Not the first time CoinDCX has done it.
Indian CEXs like CoinDCX, WazirX, BitBNS are all the same.
(I still helped freeze 6 figures for CoinDCX)
the more products you try, the less you have to guess when building your own.
i was researching competitors while building a new product for our org’s product suite. trying their products hands on helps you get a feel for the UI/UX and notice what’s easy or confusing. it gives you a clearer idea of what to build and where you could improve things.
bringing together the core features of 5 different platforms can be a good product idea too, if they fit together and help the same user. spending some time on research can help you build and ship faster.
taking inspiration is part of building. understand what works, then use that learning to create something of your own.
3
84
I was building a service with Claude and testing the APIs in Postman, sending requests and checking whether the responses matched what I expected.
Someone saw my screen and asked, You’re still testing APIs in Postman? 😅
That got me curious about how other developers are doing this now.
Are you still using Postman, or has your testing workflow changed since you started building with AI?
5
112
More usage is needed.
Dots are included in all Pro, Business Premium and Enterprise plans. This includes the Pro 100 plan. We’ll be looking to further expand access soon.
Readers added context they thought people might want to know
OpenAI sources specify dots roll out gradually only in eligible markets to those plans; Pro excludes EEA/UK/Switzerland at launch and access is not immediate for all.
x.com/OpenAI/status/…
openai.com/index/introduc…
help.openai.com/en/articles/20…
learn.chatgpt.com/docs/dots
1
66
Whenever I feel distracted or low,
I do 10 push ups
Lowkey the quickest reset for me
btw i have only ever done this on WFH days 😅
Post meal workout at @magicblock Founders Camp
Magicblock got a super fit marketing lead 💪
This is Priyansh Patel, reporting IRL from Bangkok
3
83
Jev bhaiya ko kuch din toh machane dete 😅
介绍比Jev快50倍,在你设备上跑的laya-mlx!
只在你的设备上占用最高1G内存
Laya是一个开源的类似于Jev的,基于文本输出概率的分类系统
我将其移植到MLX,并且做了一些性能优化!
视频中就是这个模型在我的本地M3Max上玩贪吃蛇
这个模型能够以每秒决策60次的速度玩贪吃蛇!
github.com/mizorewww/laya-ml…
1
49
back in college, every new language or framework felt like progress.
as a dev, i was always asking myself, "what should i learn next?"
these days, i catch myself asking, "what should my agents learn next?"
i look at the stuff i do again and again, like debugging the same kind of issue or reviewing similar code, and try to turn it into a reusable skill my agents can run.
learning still matters. but knowing how to pass what you know to an agent feels just as useful now.
5
44












