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.

14 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 14 articles

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

Redis Persistence: RDB vs AOF — Which to Choose?

Compare Redis RDB snapshots and AOF logging — durability trade-offs, performance impact, and recovery scenarios

Redis11 minJan 16, 2026
Read

Redis Cluster: Data Sharding, Replication, and High Availability

Configure Redis Cluster for horizontal scaling — hash slots, replication, failover, and client-side routing

Redis12 minJan 15, 2026
Read

Redis Sentinel vs Redis Cluster: Choosing the Right HA Architecture

Redis Sentinel and Redis Cluster both provide HA, but teams regularly choose the wrong one. Sentinel is simpler and covers 95% of use cases; Cluster is required for horizontal scale. Here's when to choose each.

Redis9 minNov 11, 2025
Read

MySQL Query Cache Removal: Why It Was Removed and Modern Alternatives

Understand why MySQL removed the query cache in 8.0 and what to use instead: application-level Redis caching, ProxySQL query cache, and pre-computed summary tables.

MySQL1 minAug 20, 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

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

Redis 8 vs Valkey 8: Which In-Memory Database to Run in Production

Choose Redis 8 or Valkey 8 from licensing, feature, managed-service, and operational requirements, then migrate within the documented compatibility boundary.

Redis6 minJan 28, 2025
Read

Redis vs Valkey: A Complete Guide to the Future of In-Memory Databases

Understand the Redis fork landscape after licensing changes. Compare Redis and Valkey features, licensing implications, migration paths, and community support.

Redis5 minJul 11, 2024
Read

Valkey: The Open-Source Redis Alternative After the License Change

Migrate from Redis to Valkey — compatibility, performance benchmarks, and what changes for operators

Redis10 minMay 7, 2024
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

Redis Performance Tuning for High-Traffic Applications

Tune Redis from measured latency and memory behavior: bound command work, fix big and hot keys, choose eviction intentionally, and test persistence.

Redis7 minOct 25, 2022
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