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.

23 canonical articlesBrowse the complete archive

Popular Searches

Database Architecture Articles

← Clear filter

Showing 12 of 23 articles

Normalization vs Denormalization (2026): When Each Wins for Database Performance

Explore the trade-offs between database normalization and denormalization for optimal performance. Learn when to normalize for data integrity and when to denormalize for query speed.

6 minMay 13, 2026
Read

Database Schema Design for Scalability (2026): 12 Patterns DBAs Use in Production

Twelve schema design patterns that survive production scale: primary key strategy, normalization trade-offs, partitioning, sharding boundaries, and indexing rules.

10 minMay 9, 2026
Read

Solving Cache Invalidation and Stampede in Valkey with Debezium CDC

Eliminate stale cache reads and thundering-herd stampedes by streaming MySQL binlog changes to Valkey via Debezium CDC. Full Java setup with embedded engine and XFetch.

MySQL15 minMar 7, 2026
Read

Multi-Tenancy Database Patterns: Schema, Row, and Database-Level Isolation

Design multi-tenant databases — compare schema-per-tenant, row-level-security, and database-per-tenant approaches

PostgreSQL12 minFeb 3, 2026
Read

Multi-Region Database Architecture: Active-Passive, Aurora Global, and Read Routing

Design multi-region database topologies for global latency and DR. Compares active-passive, Aurora Global Database replication, and application-level read routing patterns.

AWS7 minOct 9, 2025
Read

FoundationDB Architecture: ACID Transactions at Distributed Scale

FoundationDB powers Apple iCloud and Snowflake's metadata layer with ACID transactions across distributed nodes. Learn how its ordered key-value core, layer architecture, and simulation testing deliver unmatched reliability.

4 minAug 12, 2025
Read

Redis Streams vs Kafka: Choosing the Right Event Streaming Architecture

Redis Streams and Kafka both handle millions of events per second, but they solve different problems. Compare latency, retention, delivery guarantees, and operational overhead to choose the right architecture.

Redis4 minAug 5, 2025
Read

PostgreSQL Schema Design for Multi-Tenant SaaS: Three Patterns Compared

Compare three PostgreSQL multi-tenant patterns: shared schema with RLS, schema-per-tenant, and database-per-tenant. Includes hash partitioning for shared schema at scale.

PostgreSQL1 minMay 9, 2025
Read

TiDB 8.0: Distributed SQL for Growing Workloads

TiDB 8.0 is the most production-ready version of the distributed SQL database yet. With improved HTAP, stronger MySQL compatibility, and Resource Groups, it's compelling for teams outgrowing single-node MySQL.

TiDB8 minFeb 25, 2025
Read

OpenSearch vs Elasticsearch in 2026: Licensing, Features, and Migration

OpenSearch (Apache 2.0) and Elasticsearch (EL2/SSPL) have diverged. Compare licensing, security features, AI/ML capabilities, and migration complexity for 2026.

8 minJan 14, 2025
Read

TiDB's Raft-Based Replication: How Distributed Consensus Keeps Your Data Safe

TiDB uses Raft consensus protocol through TiKV to replicate every region across three or more nodes. Here's how leader election, log replication, and region management work in practice.

TiDB9 minMay 20, 2024
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
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