Search
Lessons (14)
- Deployments, ReplicaSets & Rollouts
… A Deployment is that shift manager for your pods.  Deployment → ReplicaSet …
- Brokers, Replication & Durability
… Brokers, leaders and followers, in-sync replicas, min.insync.replicas, leader election and KRaft, drawn step by step …
- Replication, Partitioning & Sharding
Scale reads with replicas, split data safely with partitions and shards, and plan for consistency, hot keys and …
- Database Internals, Replication and Scaling
… Replicas increase read capacity but add lag; route read-your-own-write flows carefully. Connection pools bound database …
- Storage Engines & Database Operations
… replicas provide recoverability](/img/database/storage-operations.svg) Mechanism Strength Cost to remember --- --- --- B-tree Point/range reads …
- Kafka Producers
… acks=all (with min.insync.replicas=2) P- L: send batch L- L: write to log F1- L …
- Scaling, Load Balancing & Rate Limiting
… Copy the data to replicas and send reads there. mermaid flowchart LR App -- writes P[(Primary)] P -- replication …
- Helm, kubectl Cheat Sheet & Best Practices
… Production checklist for every workload mermaid mindmap root((Production-ready workload)) Reliability 2+ replicas readiness + liveness probes PodDisruptionBudget …
- Kubernetes Cluster Architecture
… apply Deployment (replicas: 3) A- E: store desired state C- A: watch: new Deployment → create ReplicaSet → create 3 …
- Scaling & Health Probes
… 3 restart after ~30s of failures readinessProbe: httpGet: { path: /health/ready, port: 3000 } periodSeconds: 5 failureThreshold: 2 js …
- SQL vs NoSQL Databases
… SQL databases can scale out too (read replicas, Citus, Vitess, CockroachDB), but it's more work. ACID vs …
- ConfigMaps, Secrets & Storage
… CephFS ReadWriteOncePod Exactly one pod Strict single-writer workloads StatefulSets and storage A StatefulSet gives each replica its …
- ACID, Transactions & Locks
… Dirty read Read data another transaction may roll back Read committed or stronger Non-repeatable read Same row …
- Caching & Redis
… Cache-aside (lazy loading) ⭐ most common The app checks the cache first; on a miss it reads the …