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.
Popular Searches
StarRocks as a Vector Database – Architecture, Scaling, and Best Practices
Use StarRocks for high-performance vector search with HNSW indexes. Learn real-time vector ingestion, hybrid queries combining vectors with analytics, and scaling strategies.
Neon: Serverless PostgreSQL with Branching for Development
Use Neon for serverless PostgreSQL — database branching for dev/test, autoscaling, and cost model
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.
PgBouncer vs Odyssey vs pgcat: Choosing a PostgreSQL Connection Pooler
A detailed comparison of PgBouncer, Odyssey, and pgcat for PostgreSQL connection pooling — architecture differences, threading models, pool modes, TLS support, and decision criteria for each workload type.
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.
Database Connection Pool Sizing: The Formula, the Variables, and the Common Mistakes
How to size your database connection pool correctly — the HikariCP formula, the variables that determine optimal pool size, and the mistakes that cause connection exhaustion or underutilization.
CockroachDB vs Google Spanner vs YugabyteDB: NewSQL Comparison
Compare CockroachDB, Google Spanner, and YugabyteDB — consistency models, PostgreSQL compatibility, and operational costs
Vitess: MySQL Sharding for Kubernetes-Native Workloads
Deploy Vitess for horizontal MySQL sharding — VSchema design, vtgate routing, and migration from single-instance MySQL
ProxySQL: The Complete Guide to MySQL Load Balancing and Connection Pooling
ProxySQL pools thousands of application connections into a small backend pool, splits reads to replicas automatically, and lets you change routing without touching application code or restarting MySQL.
Google Spanner: Globally Distributed SQL at Scale
Understand Google Spanner's architecture — TrueTime, interleaved tables, schema design, and cost model
Citus: Distributed PostgreSQL for Multi-Tenant and Analytics Workloads
A production guide to Citus — distributed PostgreSQL for horizontal sharding. Hypertable setup, distribution column selection, colocation for local joins, reference tables, and Citus vs native PostgreSQL partitioning.
PostgreSQL Table Partitioning with pg_partman: Complete Guide
pg_partman automates PostgreSQL partition lifecycle. This guide covers create_parent(), retention policies, partition pruning, and migrating existing tables without downtime.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed