@krishnachaytanya: Connection pooling is why your first database query is slow and every one after is fast. Opening a fresh connection means a full TCP + TLS + auth handshake every single time, around 100ms of pure setup before any query runs. A pool keeps a few warm connections already open, so your request just borrows one, skips the handshake, and runs the query in ~5ms, then hands the connection back for the next request to reuse. This is how apps talk to Postgres, MySQL and Redis without paying the handshake tax on every call. Save it for the next time someone asks why the first request is always the slow one. COLD CONNECT = handshake every time · POOLED = borrow a warm one #connectionpooling #postgres #systemdesign #backend #databases

KrishnaChaitanya|SystemDesign
KrishnaChaitanya|SystemDesign
Open In TikTok:
Region: US
Thursday 25 June 2026 12:56:28 GMT
46090
1802
4
76

Music

Download

Comments

koboitelor
telorkoboi :
how to make animation like this?
2026-07-14 16:13:10
1
tracker1240
tracker1240 :
So you have a active session open on a certain port
2026-06-25 19:09:49
2
mauvilar.fitness
Mau Vilar :
Thank you
2026-07-14 01:51:37
0
To see more videos from user @krishnachaytanya, please go to the Tikwm homepage.

Other Videos


About