The JusDB Database Engineering Blog

Deep dives on PostgreSQL, MySQL, MongoDB and more — performance tuning, high availability, migrations and production war stories from our DBAs.

45 canonical articlesBrowse the complete archive

Popular Searches

Replication Articles

← Clear filter

Showing 12 of 45 articles

MySQL Replication Options: Native Replication vs Group Replication vs InnoDB Cluster

MySQL offers multiple replication topologies — traditional async replication, semi-sync, Group Replication, and InnoDB Cluster. Understanding the trade-offs determines whether your failover takes seconds or minutes.

MySQL9 minNov 9, 2023
Read

MongoDB Cluster-to-Cluster Sync: Simplifying Cross-Cluster Data Synchronization

MongoDB's mongosync utility enables continuous, real-time synchronization between two MongoDB clusters — simplifying live migrations, multi-cloud replication, and DR setups.

MongoDB9 minOct 16, 2023
Read

Read Replicas vs Caching: When to Use a Read Replica, Redis, or Both

A practical guide to choosing between read replicas and caching layers — replication lag behavior, cache invalidation strategies, thundering herd prevention, tiered read architecture patterns, and decision framework.

PostgreSQL12 minAug 22, 2023
Read

Debezium Advanced: Handling Schema Changes, Restarts, and Offsets

Go beyond basics with Debezium — handle schema evolution, manage connector offsets, and build resilient CDC pipelines

12 minApr 25, 2023
Read

AWS DMS: Database Migration Service Guide for MySQL and PostgreSQL

A production guide to AWS Database Migration Service — replication instance sizing, endpoint configuration, Full Load vs CDC vs Full Load+CDC modes, performance tuning, and DMS vs Debezium vs pglogical.

PostgreSQL12 minApr 17, 2023
Read

Debezium and Change Data Capture: Stream MySQL and PostgreSQL to Kafka

Debezium reads MySQL binary logs and PostgreSQL WAL to stream every row-level change as a Kafka event in near real-time — replacing nightly batch ETL with sub-second data propagation.

PostgreSQL11 minApr 3, 2023
Read

PostgreSQL Logical Replication to Kafka: End-to-End Setup

Stream PostgreSQL changes to Kafka using pgoutput and Debezium — setup, monitoring, and lag management

PostgreSQL12 minMar 21, 2023
Read

PostgreSQL High Availability with Patroni and HAProxy

Design PostgreSQL HA with Patroni 4.1, a protected quorum DCS, HAProxy role checks, explicit durability choices, and rehearsed switchover and recovery.

PostgreSQL7 minJan 24, 2023
Read

Database-to-Data-Warehouse Replication: Patterns and Anti-Patterns

Replicate OLTP databases to analytical warehouses — CDC, bulk load, incremental sync, and schema evolution handling

12 minJan 17, 2023
Read

PostgreSQL Replication Monitoring: Lag, Slots, and Failover Readiness

Monitor PostgreSQL streaming replication lag, replication slots, and standby health to ensure HA readiness

PostgreSQL11 minDec 20, 2022
Read

MySQL Binlog to Kafka: Building a CDC Pipeline

Build a MySQL CDC pipeline using binlog and Kafka — Debezium, Maxwell, or Canal — trade-offs and production setup

MySQL12 minDec 7, 2022
Read

PostgreSQL Replication: Streaming Replication, Logical Replication, and Synchronous Standby Setup

A complete guide to PostgreSQL replication — streaming replication setup, logical replication for selective table sync, synchronous standby configuration, monitoring replication lag, and failover with Patroni.

PostgreSQL14 minNov 29, 2022
Read
Newsletter

Get the latest database insights and expert tips delivered to your inbox.

Stay Connected

Subscribe to our RSS feed for instant updates.

RSS Feed