Search

Lessons (5)

  • 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

    … Choose a stable shard key such as tenant or user ID, and remember: cache is never the source …

  • Scaling, Load Balancing & Rate Limiting

    … Vertical vs horizontal scaling, load balancers, stateless servers, replication, sharding, rate limiting and resilience basics. The big idea …

  • SQL vs NoSQL Databases

    … were built to spread data across many machines (sharding) from day one. SQL databases can scale out too …

  • Caching & Redis

    … You can use both. - Replication + Sentinel: automatic failover to a replica. - Redis Cluster: shards data across nodes using …