Data, Storage and Messaging
SQL, PostgreSQL, caching, Kafka, and durable data movement patterns.
Lessons
- Data Contracts and Ownership
- Kafka Architecture — Brokers, Partitions, ISR, and Consumers
- PostgreSQL MVCC, Isolation & Vacuum
- SQL Fundamentals — Querying Relational Data
- Backpressure — Slow Down When the System Is Full
- Cache Eviction Policies — LRU, LFU, TTL, and Friends
- ACID Transactions — All-or-Nothing Database Work
- Kafka Exactly-Once Semantics — What Is Actually Guaranteed
- PostgreSQL Partitioning & Performance
- SQL Indexing & Query Optimization
- CDC vs Dual Writes — Keeping Two Stores in Sync
- Banking Transaction Platform Design
- Cache Stampede — When Expiry Melts the Database
- WAL and Crash Recovery
- Kafka Partition Ordering and Delivery Guarantees
- PostgreSQL Replication & Failover
- SQL Window Functions — Analytics Without Collapsing Rows
- Change Data Capture (CDC) — Streaming Database Mutations
- Caching 101 — Memory Offloading and Latency Reduction
- Bloom Filters — Probabilistic Set Membership at Scale
- Kafka Streams Introduction
- Caching Strategies — Aside, Through, Behind, and Refresh-Ahead
- Connection Pooling — Reusing Expensive Database Sessions
- Dead-Letter Queues and Poison Messages — Quarantine Work That Keeps Failing
- Content Delivery Networks (CDN) — Edge Acceleration and Caching
- Consistent Hashing — Rings, Virtual Nodes, and Minimal Rebalancing
- Event-Driven Architecture — React to Facts, Don’t Chain Calls
- Publish/Subscribe Messaging — One Event, Many Interested Listeners
- Database Storage Architectures — B-Trees vs. LSM-Trees
- Distributed Cache Design
- Distributed Caching — Sharding and High-Availability Clusters
- Database Indexes — Find Rows Without Scanning Everything
- Database Sharding — Split Data Across Many Machines
- Read-Through vs. Write-Through Cache — Who Updates the Cache?
- Hot Partition / Hot Key — When One Shard Takes All the Heat
- Stale Cache After Write — When Your Own Update Disappears
- How to Scale a Database — The Progressive Scaling Ladder
- Rebalancing Shards Under Skewed Traffic
- Search Index Freshness vs Ranking Quality
- Search System Design
- SQL vs NoSQL — Choosing a Data Store
- Types of Databases — Matching Engines to Access Patterns