Database Sharding Strategies Explained
Compare range, hash, and directory-based sharding strategies, with guidance on choosing shard keys and operating sharded systems.
9 posts · page 1 of 1
Compare range, hash, and directory-based sharding strategies, with guidance on choosing shard keys and operating sharded systems.
A senior-engineer guide to designing rate limiters: algorithms, distributed coordination, trade-offs, and production patterns that actually scale.
Design a real-time chat system that supports millions of users with low latency messaging, presence, and message persistence at scale.
Design a file storage service with uploads, sync, deduplication, and sharing, scaling to petabytes while keeping reads fast and cheap.
Design a real-time leaderboard using Redis sorted sets, handling millions of score updates per second with low latency rankings.
How to design a social newsfeed: fanout-on-write vs read, ranking pipelines, hybrid models for celebrities, and operational reality.
Design a notification service that delivers email, SMS, and push reliably with templating, rate limits, retries, and user preferences.
A pragmatic walkthrough for designing a photo sharing service: upload paths, storage tiers, CDN delivery, feed generation, and the trade-offs that matter at scale.
A practical introduction to sharding: range, hash, directory, and geo-based partitioning. Learn how to pick a shard key, handle hot shards, and plan resharding without downtime.