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.

44 canonical articlesBrowse the complete archive

Popular Searches

Scaling Articles

← Clear filter

Showing 12 of 44 articles

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.

StarRocks21 minAug 20, 2024
Read

Neon: Serverless PostgreSQL with Branching for Development

Use Neon for serverless PostgreSQL — database branching for dev/test, autoscaling, and cost model

PostgreSQL10 minJun 12, 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

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.

PostgreSQL12 minSep 19, 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

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.

PostgreSQL9 minAug 7, 2023
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

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.

MySQL10 minMay 9, 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

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.

PostgreSQL12 minMar 22, 2023
Read

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.

PostgreSQL10 minMar 21, 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