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

Architecture Articles

← Clear filter

Showing 12 of 45 articles

CDC vs ETL vs ELT: Choosing the Right Data Integration Pattern

Compare CDC, ETL, and ELT — latency, complexity, cost, and when each pattern fits your data pipeline needs

11 minJan 25, 2026
Read

Apache Cassandra Data Modeling: Partition Keys and Query Patterns

Model Cassandra from access patterns, distribute and bound partitions, and operate time-series TTL and compaction without relying on dangerous shortcuts.

Cassandra6 minJan 17, 2026
Read

MongoDB Sharding: Architecture, Chunk Balancing, and Pitfalls

Design MongoDB sharded clusters — choose shard keys, manage chunk balancing, and avoid hot shards in production

MongoDB12 minJan 13, 2026
Read

Redis Streams: Event Sourcing, Consumer Groups, and Dead Letter Handling

Use Redis Streams for event sourcing and message queues. Covers XADD, XREADGROUP, consumer groups, XAUTOCLAIM for stale messages, and Python producer/consumer examples.

Redis1 minJun 4, 2025
Read

MongoDB vs PostgreSQL in 2026: Choosing the Right Database for Your Data Model

An honest comparison of MongoDB and PostgreSQL in 2026 — document model vs relational model, JSONB as a document store, ACID transaction trade-offs, horizontal scaling, licensing, and migration paths.

PostgreSQL12 minFeb 10, 2025
Read

Demystifying TiDB's Write Path: A Guide to Scalable Data Management

TiDB's write path crosses multiple layers — SQL parser, planner, TiKV region leader, Raft log replication, and 2PC commit — before a transaction is durable. Here's a complete walkthrough.

TiDB9 minMar 25, 2024
Read

Apache Flink CDC: Real-Time Database Change Capture at Scale

Use Apache Flink CDC to capture MySQL and PostgreSQL changes — stateful processing, exactly-once semantics, and Kubernetes deployment

13 minFeb 20, 2024
Read

CockroachDB vs Google Spanner vs YugabyteDB: NewSQL Comparison

Compare CockroachDB, Google Spanner, and YugabyteDB — consistency models, PostgreSQL compatibility, and operational costs

12 minJul 10, 2023
Read

Vitess: MySQL Sharding for Kubernetes-Native Workloads

Deploy Vitess for horizontal MySQL sharding — VSchema design, vtgate routing, and migration from single-instance MySQL

MySQL12 minMay 22, 2023
Read

PostgreSQL Row Level Security (RLS): Multi-Tenant Access Control in Practice

A production guide to PostgreSQL Row Level Security — policy creation, USING vs WITH CHECK clauses, performance implications with indexes, and multi-tenant SaaS patterns with real schema examples.

PostgreSQL11 minMay 8, 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

Google Spanner: Globally Distributed SQL at Scale

Understand Google Spanner's architecture — TrueTime, interleaved tables, schema design, and cost model

11 minApr 12, 2023
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