Database Replication in Practice: Emulating a Production Environment with PostgreSQL, HAProxy, and TypeScript
Learn how PostgreSQL database replication works under the hood — WAL streaming, async vs. sync modes, and how to set up a local environment with Docker, HAProxy, and two read replicas. Includes practical TypeScript examples using raw SQL, Prisma, and Drizzle.
BackendNode.js
