Search
Lessons (8)
- Replication, Partitioning & Sharding
Scale reads with replicas, split data safely with partitions and shards, and plan for consistency, hot keys and …
- Caching, Consistent Hashing and Sharding
… Check each shard separately. A great overall hit ratio can hide one overloaded shard . Check your understanding Why …
- Scaling, Load Balancing & Rate Limiting
… Vertical vs horizontal scaling, load balancers, stateless servers, replication, sharding, rate limiting and resilience basics. The big idea …
- Backend Design Scenarios
… Sharding splits ownership across databases and increases write/storage capacity, but introduces cross-shard queries, rebalancing, routing and …
- SQL vs NoSQL Databases
… were built to spread data across many machines (sharding) from day one. SQL databases can scale out too …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… Add a suffix or shard the key. - Scan reads the entire table. Avoid it in application paths. - Items …
- Collaborative Document Editing & Real-Time Sync
… each server handles its own set of documents, chosen by docId (this is called sharding ). The hard parts …
- Caching & Redis
… You can use both. - Replication + Sentinel: automatic failover to a replica. - Redis Cluster: shards data across nodes using …