Explaining the design of your own project
35 min · Intermediate
Need help? Ask a tutor on WhatsApp (opens in a new tab)In almost every fresher interview someone says "Tell me about your project." Those two minutes decide the follow-up questions, so they need a plan, not improvisation.
Your turn: introduce ShopLite aloud
Set a timer for two minutes and explain ShopLite, the online shop you built, out loud as if to an interviewer. Then check yourself:
- Did you say what problem it solves and who uses it?
- Could the listener draw your system from what you said?
- What would you answer to "what if 10 times more people use it?"
Write down what was missing, then compare with the structure below.
A 2-minute structure in six parts
Project design explanation is a short, structured walk through what you built and why: the problem, the users, the architecture, the data, one hard problem you solved and what you would change.
One small project explained in six parts, as a script you could say aloud in two minutes.
Example 1 · A hostel complaint app in six parts
Problem (15 s): Hostel students had no easy way to report broken lights and taps, so complaints reached the warden weeks late on paper.Users (15 s): About 1,200 students in 4 hostels and 6 maintenance staff. Peak: the 20 minutes after classes end.Architecture (30 s): A React web app calls a Spring Boot REST API on one server. The API is stateless and uses JWT, so I can add a second server.Data (20 s): MySQL with three tables: students, rooms and complaints. Complaints have an index on (room_id, created_at) for the daily report.Hard problem (25 s): Students filed the same complaint many times. I added a unique key on (student_id, room_id, issue) and return 409 on a repeat.Change (15 s): I would move the daily report email to a background job; today it runs inside a request and takes 4 seconds.2 minutes: 15 + 15 + 30 + 20 + 25 + 15 seconds
What this code does
- Each part answers one question in one or two sentences, with a real number where it helps (1,200 students, a 4-second report).
- The hard problem names the bug (repeat complaints), the fix (a unique key) and the response (409), which invites an easy, good follow-up.
Two minutes is about 250 spoken words, so each part gets 15 to 30 seconds. Architecture gets the most time, because the follow-up questions start there.
The hard problem is the most important part. Pick one real bug or design choice, say what went wrong and how you fixed it. It shows that you built the project yourself and understood it.
Order of execution
The six parts
Put the parts of a project explanation in the order you say them.
Your architecture in words and boxes
Diagram in words describes boxes and arrows in text: [Box] for a running program, [(Name)] for a data store, --> for a call that waits for an answer, and a number such as (1) for each step.
The same project drawn as a diagram in words: boxes, data stores and numbered calls.
Example 2 · The complaint app as a diagram in words
[Student browser] --(1) HTTPS--> [React app on Netlify][React app] --(2) REST + JWT--> [Spring Boot API, 1 server][Spring Boot API] --(3) SQL--> [(MySQL: students, rooms, complaints)][Warden] --(4) GET /api/v1/reports/daily--> [Spring Boot API][Spring Boot API] --(5) SMTP--> [Email provider] (slow, runs inside the request today)Boxes: 4 programs, 1 data store Weak spot marked: step (5) runs inside the request
What this code does
- Every arrow is numbered in the order a request flows, so you can talk through it step by step.
- The slow email is labelled as a weak spot, which leads straight into the "what would you change" part.
Interviewers often ask you to draw on a whiteboard or in a shared doc, so practise writing it the same way every time. Draw what really runs, not what you wish ran: one Spring Boot server and one MySQL database is a perfectly good diagram for a college project.
Mark the weak spots yourself, such as "the email runs inside the request". Pointing out your own bottleneck shows judgement; hiding it invites a harder question.
Answering "how would it handle 10x users?"
RPS (requests per second) is the number of requests a server must answer each second: daily users × requests per user ÷ 86,400, times a peak factor for the busiest moments.
A program that turns daily users into requests per second and checks what breaks first at 10x and 100x.
Example 3 · Which part breaks first at 10x and 100x
public class ScaleCheckDemo { static final int REQUESTS_PER_USER_PER_DAY = 50; static final int PEAK_FACTOR = 10; static final int RPS_PER_SERVER = 300; // measured with a load test on one server static final int POOL_PER_SERVER = 10; // HikariCP maximum pool size static final int DB_MAX_CONNECTIONS = 151; // MySQL default max_connections static final int QUERIES_PER_REQUEST = 2; static final int DB_SAFE_QPS = 5_000;
public static void main(String[] args) { long users = 20_000; for (int scale : new int[] {1, 10, 100}) { long dau = users * scale; long peakRps = Math.round(dau * REQUESTS_PER_USER_PER_DAY / 86_400.0 * PEAK_FACTOR); long servers = Math.max(2, (peakRps + RPS_PER_SERVER - 1) / RPS_PER_SERVER); long connections = servers * POOL_PER_SERVER; long dbQps = peakRps * QUERIES_PER_REQUEST;
System.out.println(scale + "x users (" + dau + " DAU): peak " + peakRps + " RPS"); System.out.println(" app servers: " + servers + ", DB connections: " + connections + "/" + DB_MAX_CONNECTIONS + (connections > DB_MAX_CONNECTIONS ? " <-- too many" : "")); System.out.println(" DB queries/s: " + dbQps + "/" + DB_SAFE_QPS + (dbQps > DB_SAFE_QPS ? " <-- add cache and read replicas" : "")); } }}1x users (20000 DAU): peak 116 RPS app servers: 2, DB connections: 20/151 DB queries/s: 232/5000 10x users (200000 DAU): peak 1157 RPS app servers: 4, DB connections: 40/151 DB queries/s: 2314/5000 100x users (2000000 DAU): peak 11574 RPS app servers: 39, DB connections: 390/151 <-- too many DB queries/s: 23148/5000 <-- add cache and read replicas
What this code does
- Peak RPS = users × 50 requests ÷ 86,400 × a peak factor of 10; servers = peak ÷ 300 RPS per server, rounded up, with at least 2.
- At 10x everything is within limits: 4 servers, 40 connections, 2,314 queries per second.
- At 100x two limits break: 39 servers × a pool of 10 exceed MySQL's default 151 connections, and queries pass what one server handled, so the answer is a cache and read replicas.
Then walk the request path and ask what breaks first: app server CPU, database connections, database queries, or a slow call inside the request. Each has a known next step: more stateless servers, a smaller connection pool per server, a cache and read replicas, or a queue.
Often the honest answer at 10x is "nothing breaks yet, I would add a second server for safety". Say that, and say what would break at 100x.
Predict the output
From users to RPS
Work out the numbers before you run anything.
Round 1 of 2
What is the average requests per second?
Worked example: explaining ShopLite end to end
ShopLite explained in two minutes, part by part.
Example 4 · ShopLite explained in two minutes
Problem: ShopLite is an online shop backend: customers browse products, place orders and track them; admins manage the catalogue.Users: Built and tested for a small shop, about 1,000 users.Architecture (what runs today): [Client] --REST + JWT--> [Spring Boot API, 1 instance] --JPA--> [(MySQL 8.4)] Stateless: no session in memory, so a second instance can sit behind a load balancer. Schema changes go through Flyway migrations. Code is package by feature: product, category, customer, order, common; each has controller -> service -> repository, with DTOs at the edge.Data: Tables categories, products, customers, orders, order_items. INT ids, money as DECIMAL in MySQL and BigDecimal in Java.Hard problem: Clients on bad networks retried POST /api/v1/orders and made duplicate orders. I designed an Idempotency-Key header: the first response is stored with the key and replayed for a retry.Change at 10x: product reads are about 90% of traffic, so first a cache for product pages (cache-aside with a TTL), then a read replica, then order emails moved to a queue and a worker.Claims made: tested for ~1,000 users, stateless, idempotent orders Future tense for scaling: cache, replica, queue
What this code does
- The architecture part draws only what runs today and explains why a second instance is easy (stateless, JWT).
- The "change" part uses numbers (90% reads) to justify the order of steps: cache, then replica, then queue.
ShopLite is the shop backend built across this course. Its explanation follows the same six parts, describes only what runs today (one Spring Boot API and MySQL), and uses the growth steps from this section for the "what would you change" part.
Notice the claims it makes: tested for about 1,000 users, stateless so a second instance can be added, idempotency for retried orders. Each one is something you can defend in a follow-up question.
Pitfalls: overclaiming scale and buzzwords without reasons
Overclaiming means saying a project does more than it does, such as "handles millions of users" when it never had more than 20. Interviewers ask "how did you test that?" and the answer falls apart.
An overclaiming answer, then the same answer rewritten with numbers and reasons.
Example 5 · An overclaiming answer and its fixes
"My project is a highly scalable microservices e-commerce platform. It usesKafka, Redis and Kubernetes, so it can handle millions of users. It is fullyfault tolerant and has zero downtime."Fix 1: give real numbers ("tested with 200 users")
Fix 2: give a reason for each tool, or do not name it
Fix 3: replace "zero downtime" with what you actually did (health check, restart)
Fix 4: put scaling in the future tense ("at 10x I would...")What this code does
- Every claim in the weak answer invites a question it cannot survive: "How many users did you test with?"
- The fixed version is shorter on adjectives and longer on facts, which is what interviewers score.
Buzzwords without reasons means naming tools (Kafka, Kubernetes, microservices) without saying what problem each one solved. Every tool you name should come with a "because".
The fix is simple: give real numbers ("tested with 200 users in a load test"), name the design choices you made, and keep the scaling plan in the future tense ("at 10x I would add…").
Next step
Check your understanding
12 quick questions