SRSriKeerthi Rinsri-revuru.hashnode.dev·May 31 · 17 min read🧠 PostgreSQL Synchronous Replication Internals: The Backend Wait PathFrom COMMIT to sleep Part 2 showed you the shared-memory layout — the queues, the per-mode released-LSN markers (WalSndCtl->lsn[]), and the per-backend state fields. Now we trace the backend's code pa00
SRSriKeerthi Rinsri-revuru.hashnode.dev·May 14 · 13 min read🧠 PostgreSQL Synchronous Replication Internals: The Shared-Memory RendezvousNo messages. No sockets. Just shared memory and a latch. In Part 1, we met the three actors — backend, walsender, checkpointer — and said they "communicate through shared memory." That was hand-waving00
SRSriKeerthi Rinsri-revuru.hashnode.dev·May 4 · 8 min read🧠 PostgreSQL Synchronous Replication Internals: How a COMMIT Waits and Wakes UpYour COMMIT is hanging. Why? You've set up a primary with two physical replicas, configured this on the primary: synchronous_standby_names = 'FIRST 1 (s1, s2)' -- needs SIGHUP / pg_reload_conf() s00
SRSriKeerthi Rinsri-revuru.hashnode.dev·Apr 4 · 9 min read🧠 PostgreSQL Internals — How cmin, cmax, and ComboCID Really Work.Lets Dissect HeapTupleFields. “PostgreSQL tracks five MVCC fields using only three storage slots — by letting multiple fields share the same space.” 1️⃣ Concept — Why do we need cmin & cmax? Postgr00
SRSriKeerthi Rinsri-revuru.hashnode.dev·Mar 24 · 5 min readMy First PGConf India 2026 Earlier this month, I attended PGConf India 2026 in Bengaluru — my first-ever PostgreSQL conference. I've been to meetups before, but this was a completely different energy. Two days, packed sessions,00