Part 1 of 8 · 1 min read
Why this page comes second in Level 13
In this module you will
- Scope a webmail service and size its sending rate and storage.
- Explain the old single-server design and why it does not scale.
- Draw the sending and receiving flows with queues, workers and storage.
- Design the mailbox data model for a store that only queries by key.
- Explain deliverability, bounces, authentication and search.
Email looks old, but the design asks for a lot: big storage, queues, a per-user data model, search and a social problem (spam). It joins the queue (Level 12, page 1), object storage (Level 12, page 3), notification flows (Level 10, page 6) and chat style push (Level 11, page 2). The book used is "System Design Interview, Volume 2" by Alex Xu, the distributed email service chapter. Numbers marked "made up" only show the idea.