Discussion on Current Projects

Difficulty: MEDIUMCategory: LLDFrequency: 1Asked On 2024-02-16

Problem Statement

The goal is to evaluate how you can explain, architect, and reason about systems you’ve built or worked on in your current or previous projects — from a high-level design (HLD) perspective.


This problem assesses your ability to:


•Break down a real-world project into core architectural components
•Explain design choices, trade-offs, and scalability aspects
•Demonstrate an understanding of system design principles in practice


🧾 Context


In many system design or HLD interviews, you’re asked:

“Tell me about the architecture of one of your current or recent projects.”


Here, you must design and explain your existing system — not invent a new one.


You should discuss:


•What problem your system solves
•How it’s structured (components, layers, integrations)
•Key technical decisions and trade-offs
•Scalability, reliability, and observability aspects


🧱 Problem Statement

Design and discuss the high-level architecture of a project you’ve recently worked on — explaining its core components, data flow, scaling approach, and system design considerations.


You should be able to answer:


1.What problem does this project solve?
2.What are the main functional and non-functional requirements?
3.What are the core system components and how do they interact?
4.How does the system handle scalability, security, and fault tolerance?
5.What challenges did you face, and how did you address them?


📋 Functional Requirements (Example Framework)


Depending on your project domain, focus on describing:


•User actions (e.g., file upload, order placement, API call)
•System responses (e.g., validation, processing, notifications)
•Data flow across services and databases


If you pick a specific project — say, “Expense Reimbursement Tool” — the requirements could include:


1.Employees can submit expense claims.
2.Managers can approve/reject them.
3.The system tracks reimbursement status.
4.Notifications are sent for each stage.


⚙️ Non-Functional Requirements


AttributeDescription


Scalability

Should handle increasing users or data load gracefully.


Reliability

No single point of failure. Data consistency ensured.


Performance

Fast response times and optimized DB queries.


Security

Authentication, authorization, and data protection.


Maintainability

Modular and easily extensible components.


Observability

Logging, metrics, tracing for debugging and health checks.


🧩 Expected System Architecture (Template)


You can structure your discussion around these common layers:

1 2[Client/UI] 3 ↓ 4[API Gateway / Load Balancer] 5 ↓ 6[Backend Microservices / Business Logic] 7 ↓ 8[Cache Layer (Redis / Memcached)] 9 ↓ 10[Database / Storage Layer] 11 ↓ 12[External Integrations (Payment, Notification, etc.)]


🧠 Example Domains to Frame Your Discussion


DomainExample SystemKey Focus


E-commerce


Order Management, Cart, Product Catalog

Consistency, concurrency


FinTech

Payment Gateway, Expense Reimbursement

Security, audit trails


Healthcare

Appointment Booking, Prescription Management

Privacy, reliability


SaaS Tools

Notification System, Analytics Dashboard

Scalability, API design


Infra/DevOps

CI/CD Pipeline, Monitoring System

Resilience, automation


📊 Example: Expense Reimbursement System (Sample Discussion)


Goal: Employees can submit expense claims for approval and reimbursement.


Components:


1.Frontend UI: React app for claim creation and tracking.
2.Backend Service: Spring Boot or Node.js API for business logic.
3.Database: PostgreSQL for transactional data.
4.Cache: Redis for frequent lookups (user sessions, claim states).
5.Notification Service: Sends emails/SMS for claim status changes.
6.Auth Service: OAuth2-based authentication via company SSO.
7.Audit/Logs: ELK stack for monitoring and compliance.


Data Flow:

•Employee submits claim → Stored in DB → Manager approves → Status updates → Notification triggered.


Scaling Approach:


•Horizontal scaling for backend APIs.
•Read-heavy workloads optimized with Redis.
•Async communication between services via Kafka.


📡 Discussion Topics During Interview


•Architecture rationale: Why this approach?
•Scalability: How does your system scale with traffic or data volume?
•Trade-offs: Why SQL vs NoSQL? Monolith vs Microservices?
•Failure handling: What happens if a service crashes or a queue overflows?
•Monitoring: How do you track performance, latency, or errors?
•Security: How do you handle authentication and authorization?


🚀 Deliverables for Discussion


Deliverable and Description


System Overview


Describe problem statement and main use case.


Architecture Diagram


High-level component diagram with interactions.


Data Flow


Explain how requests and responses travel through the system.


Scaling Strategy


Describe load balancing, caching, and DB sharding if applicable.


Challenges & Solutions


Mention performance bottlenecks or design trade-offs.


🧠 Tips for Interview


•Keep it simple but deep — discuss 3–4 well-defined components.
•Focus on why you made design choices, not just what.
•Be ready with numbers (e.g., data size, request volume, latency goals).
•Highlight real challenges and engineering trade-offs you handled.


Solution

Comments