Inbox Pattern Low-Level Design: Exactly-Once Message Processing
7 min read The inbox pattern is the receiving counterpart to the outbox pattern. Where the outbox ensures a service reliably publishes events […] Read article
7 min read The inbox pattern is the receiving counterpart to the outbox pattern. Where the outbox ensures a service reliably publishes events […] Read article
7 min read Push notification token management handles the lifecycle of device tokens issued by APNs (Apple) and FCM (Google): storing them when Read article
7 min read The saga pattern manages distributed transactions across multiple services by decomposing them into a sequence of local transactions, each publishing Read article
7 min read Change Data Capture (CDC) streams every insert, update, and delete from a database as an ordered event log. Instead of Read article
7 min read Pagination is not optional for any endpoint that returns a list β without it, a single request can return millions Read article
7 min read Video Transcoding Pipeline β Low-Level Design A video transcoding pipeline converts uploaded video files into multiple formats and resolutions for Read article
7 min read CDN Integration β Low-Level Design A CDN (Content Delivery Network) caches static assets and API responses at edge nodes close Read article
7 min read Graceful Degradation β Low-Level Design Graceful degradation keeps a system functional when individual components fail, returning reduced-quality responses rather than Read article
7 min read Database Sharding β Low-Level Design Database sharding horizontally partitions data across multiple database instances, each holding a subset of the Read article
7 min read Caching Strategy β Low-Level Design A caching strategy determines what to cache, for how long, how to invalidate stale data, Read article
6 min read Image Resizing Service β Low-Level Design An image resizing service generates and serves optimized image variants (thumbnails, responsive sizes, webp) Read article
7 min read Cursor Pagination β Low-Level Design Cursor pagination (also called keyset pagination) navigates large datasets stably and efficiently by using a Read article
6 min read Outbox Pattern β Low-Level Design The Transactional Outbox pattern ensures that database writes and message/event publishing happen atomically, without two-phase Read article
6 min read Read Replica Routing β Low-Level Design Read replica routing directs read queries to replica databases and write queries to the Read article
6 min read Faceted Search System β Low-Level Design A faceted search system lets users narrow results through multiple filter dimensions simultaneously β Read article