@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