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

StarRocks 4.1: Adaptive Tablets, Range Distribution, and the Upgrade Trade-Offs

StarRocks 4.1 makes tablet layout adaptive: Range distribution, automatic splitting at 10 GB, and 100 GB tablets. When to enable it, and what it costs.

StarRocks13 minAug 3, 2026
Read

PostgreSQL Architecture Deep Dive: Process Model, MVCC, WAL & Replication Explained

Walk through PostgreSQL's multi-process architecture, shared/local memory layout, page-organized storage, MVCC tuple versioning, the WAL write path, the query execution pipeline, and physical + logical replication — all with ASCII flow diagrams that show how data and control actually move through the system.

PostgreSQL18 minMay 31, 2026
Read

InnoDB Architecture Explained (2026): Buffer Pool, Redo Log & Production Tuning

Deep dive into InnoDB storage engine internals. Understand buffer pool, redo log, undo log, change buffer, and adaptive hash index for expert-level MySQL optimization.

MySQL16 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

MySQL Architecture Explained (2026): Query Path, InnoDB Engine & Buffer Pool Internals

MySQL architecture from query parser to disk: optimizer pipeline, InnoDB buffer pool, redo log, and storage internals every production DBA needs in 2026.

MySQL33 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

Real-Time Analytics Pipeline: PostgreSQL to ClickHouse via CDC

Build a real-time analytics pipeline from PostgreSQL to ClickHouse using CDC — architecture, latency, and schema mapping

PostgreSQL12 minFeb 2, 2026
Read

OLAP vs OLTP: Choosing the Right Database for Your Workload

Understand the differences between OLAP and OLTP systems — query patterns, storage engines, and when to use a hybrid approach

10 minFeb 1, 2026
Read

Apache Airflow for Database Workflows: Scheduling and Orchestration

Use Apache Airflow to orchestrate database ETL, backup jobs, and maintenance tasks — DAGs, sensors, and best practices

12 minJan 30, 2026
Read

Transactional Outbox Pattern: Reliable Event Publishing from Databases

Implement the transactional outbox pattern to publish events reliably from MySQL or PostgreSQL without dual-write problems

11 minJan 29, 2026
Read

Data Lakehouse Architecture: Delta Lake, Apache Iceberg, and Apache Hudi

Compare Delta Lake, Apache Iceberg, and Apache Hudi — ACID transactions, time travel, and format interoperability

13 minJan 27, 2026
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