We use cookies for site analytics. Accept to help us understand how the site is used. See our Privacy Policy for details.
The front door to a microservice fleet. One layer that every external request crosses - so it owns auth, rate limiting, routing, and resilience, and absolutely cannot become the bottleneck.
Design an API gateway: the single entry point that sits in front of a fleet of backend microservices and handles the cross-cutting concerns every service would otherwise reimplement - TLS termination, authentication, authorization, rate limiting, routing, request/response transformation, and observability.
This is a Hard system design topic because the gateway is on the critical path of 100% of external traffic. Its design is a study in keeping a shared, stateful-ish layer fast, horizontally scalable, and resilient - and in cleanly separating the high-throughput data plane from the control plane that configures it.
Asking these before diving into a solution is the difference between a "hire" and a "no signal" rating. Pick the questions whose answers would change your design.
Capacity estimation · architecture with all 7 components explained · 4 deep dives · trade-off analysis · 8 common follow-up questions
Get full access to gitGood.dev with a subscription.
Try everything free for 7 days. Cancel anytime.
7-day trial, then $8/mo - or $64/yr ($5.33/mo, save 33%). Cancel anytime.
Five algorithms, three sharding strategies, one fail-open vs fail-closed decision. The bounded design that surfaces in every backend interview loop.
L4 vs L7, consistent hashing, health checks, connection draining, and the difference between a fleet that survives partial failures and one that cascades into outage.
The internet's phone book. A globally distributed, read-dominated, cache-everywhere hierarchy that has to answer in single-digit milliseconds and never go down.
Reading is the floor. The interview signal is in walking through this live with someone probing follow-ups. Use the AI mock interview to practice talking through requirements, architecture, and trade-offs out loud.
Start an AI mock interview →