Category: System Design Interview

Join me to stay up-to-date and get my new articles delivered to your inbox by subscribing here.

Distributed Systems – Network Communication and Remote Procedure Calls (RPCs) - June 20, 2022

The problem of communication A process on Host A wants to talk to the process on Host B A and B must agree on the meaning of the bits being sent and received at many different levels, including: How many volts is a 0 bit, a 1 bit? How does the receiver know which is […]

Read more

Helpful Resources for System Design Interviews - March 2, 2022

University Courses / Lectures Online Courses Research Papers Books YouTube Videos / Playlists Other Resources

Read more

System Design Interview – Top K Problem (Heavy Hitters) - June 7, 2021

Besides reading this post, I strongly recommend reading chapter 10 (Real-time Gaming Leaderboard) of the book System Design Interview – An Insider’s Guide: Volume 2 (Xu, Alex – Lam, Sahn) You can review alternative resources as well. Functional Requirements Non-Functional Requirements Hash table, single host Hash table, multiple hosts Hash table, multiple hosts, partitioning Count-min sketch […]

Read more

System Design Interview – Rate Limiting (local and distributed) - May 6, 2021

Besides reading this post, I strongly recommend reading chapter 4 (Design a Rate Limiter) of the book System Design Interview – An insider’s guide (Xu, Alex) You can review alternative resources as well. Functional Requirements Non-Functional Requirements Token Bucket Algorithm Interfaces & Classes Step into the distributed world Message Broadcasting How do we integrate all What […]

Read more

System Design Interview – Notification Service - April 5, 2021

Besides reading this post, I strongly recommend reading chapter 10 (Design a Notification System) of the book System Design Interview – An insider’s guide (Xu, Alex) You can review alternative resources as well. Functional Requirements Non-Functional Requirements High-level Architecture FrontEnd Service Metadata Service Temporary Storage Sender What else is important… Final Look This content was excerpted […]

Read more

System Design Interview – Distributed Message Queue - March 4, 2021

Besides reading this post, I strongly recommend reading chapter 4 (Distributed Message Queue) of the book System Design Interview – An Insider’s Guide: Volume 2 (Xu, Alex – Lam, Sahn) You can review alternative resources as well. Synchronous Communication Asynchronous Communication Functional Requirements Non-Functional Requirements High-level Architecture VIP and Load Balancer FrontEnd Service Metadata Service BackEnd […]

Read more

System Design Interview – Distributed Cache - February 3, 2021

Besides reading this post, I strongly recommend reading chapter 5 (Design Consistent Hashing) and chapter 6 (Design a Key-Value Store) of the book System Design Interview – An insider’s guide (Xu, Alex) You can review alternative resources as well. Functional Requirements Non-Functional Requirements Some Tips LRU cache algorithm explanation LRU cache algorithm implementation Stepping into the […]

Read more

1 2 3 4