Skip to main content
All Questions

Find the flaws in this delivery tracking architecture.

Unlock detailed company stats for this questionUpgrade

Two client applications: a delivery executive app (mark a delivery complete, optionally add a locker number if delivered to a locker) and a user app (view the status of a package). One WAF propagates requests to two load balancers, each with three servers. The first load balancer handles delivery executive requests and the second handles user requests. All servers write to and read from a single DB. Server 3 on load balancer 2 collects the logs of all servers and sends them to a third-party application. Requests are routed round robin. Auth is managed independently by each server. Load balancer A is only 90% available, in which case the WAF or lb2 can send the request. A RabbitMQ queue takes events to be handled later, such as calling the SMS gateway or the third-party locker service, and an API service consumes it and calls the SMS gateway and the locker service as needed. Check whether there are any flaws in the architecture.

Community answers

No answers contributed by the community yet.

Related courses

Course

Software Engineering Interview Prep

Land your dream software engineering role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates—practice data structures, algorithms, system design, people management, behavioral interviews, and more.

Course

System Design Interviews

Learn how to answer the latest system design questions across product, infrastructure, and AI domains. Features in-depth video examples, written breakdowns, and helpful reference patterns. Watch senior engineers and managers answer these questions in mock interview videos.