0
0
LLDsystem_design~12 mins

LLD interview expectations - Architecture Diagram

Choose your learning style9 modes available
System Overview - LLD interview expectations

This system represents the typical flow and components involved in a Low-Level Design (LLD) interview process. The key requirements include clear communication between the candidate and interviewer, structured question handling, and feedback collection to evaluate design skills effectively.

Architecture Diagram
User (Candidate)
   |
   v
Load Balancer
   |
   v
API Gateway
   |
   v
Interview Service <--> Design Question DB
   |
   v
Feedback Service
   |
   v
Storage (Feedback DB)

Cache (for frequently asked questions) connected to Interview Service
Components
User (Candidate)
user
Person participating in the LLD interview
Load Balancer
load_balancer
Distributes incoming interview requests evenly to backend services
API Gateway
api_gateway
Routes requests to appropriate services and handles authentication
Interview Service
service
Manages interview session, question delivery, and candidate responses
Design Question DB
database
Stores design questions and related metadata
Cache
cache
Speeds up access to frequently asked design questions
Feedback Service
service
Collects and processes interviewer feedback
Storage (Feedback DB)
database
Stores feedback and evaluation results
Request Flow - 13 Hops
User (Candidate)Load Balancer
Load BalancerAPI Gateway
API GatewayInterview Service
Interview ServiceCache
CacheInterview Service
Interview ServiceDesign Question DB
Design Question DBInterview Service
Interview ServiceUser (Candidate)
User (Candidate)Interview Service
Interview ServiceFeedback Service
Feedback ServiceStorage (Feedback DB)
Feedback ServiceInterview Service
Interview ServiceUser (Candidate)
Failure Scenario
Component Fails:Cache
Impact:Interview Service experiences slower question retrieval due to cache miss; increased load on Design Question DB
Mitigation:System falls back to querying Design Question DB directly; cache is asynchronously rebuilt
Architecture Quiz - 3 Questions
Test your understanding
Which component routes the candidate's request to the correct service?
AAPI Gateway
BLoad Balancer
CInterview Service
DCache
Design Principle
This architecture demonstrates separation of concerns by dividing responsibilities among services, uses caching to improve performance, and includes fallback mechanisms to handle component failures gracefully.