System Design Academy

Saving…

Lesson 1 of 10 in Module 10 of 54 lessons complete

What Is System Design?

Module 1, lesson 1Concept10 min

Definition

System design

In plain English
System design is deciding which parts a piece of software needs and how those parts talk to each other.
Think of it like
It is like planning a restaurant by deciding where the kitchen, counter and storeroom go before anyone cooks.

Functional requirement

In plain English
A functional requirement describes something the system must do.
Think of it like
It is the dish on the menu: "we serve pancakes".

Non-functional requirement

In plain English
A non-functional requirement describes how well the system must do it, such as how fast, how reliably or for how many people.
Think of it like
It is the promise about the dish: "served hot within ten minutes".

Application server

In plain English
An application server runs the software that handles requests and coordinates the work needed to answer them.
Think of it like
It is like a restaurant manager who coordinates staff to fulfill an order.

Database

In plain English
A database is an organised store of information that software can read and update.
Think of it like
It is like a clinic’s filing cabinet with a system for finding each record.

Why it exists

Your app works for 10 friends on one laptop. At 100,000 users, it slows down, stops responding, or loses data. Planning the parts and connections helps you prevent expensive failures.

Zoom levelWhat you decide
High-level design (HLD)Which services and data stores exist, and how they connect.
Low-level design (LLD)The types, functions and relationships inside one part.

How it works

  1. Clarify requirements

    Write what users need and how well each action must work.

  2. Estimate scale

    Count users, requests and stored data, including busy periods.

  3. Sketch the big parts

    Give each part a responsibility and show where information lives.

  4. Choose communication

    Decide which part asks another part for work.

  5. Hunt for weak spots

    Ask what happens when a part is slow or unavailable.

A user connects to an app server, which connects to a database.

The smallest possible system has a user, an application server and stored data.

A user connects to an app server, which connects to a database.

Functional: whatNon-functional: how well
Create a bookingConfirm within one second
Cancel a bookingDo not lose confirmed bookings
List available timesServe 5,000 simultaneous visitors

Examples

Book a vet appointment

You need appointment booking, cancellation and day-before text reminders for a vet clinic.

List the actions: book, cancel and send day-before reminders. Set limits: pages load under one second, appointments never overlap, and service works during 99.9% of clinic hours.

A pet owner's phone connects to the booking service. The service connects to the calendar database and SMS provider.

The booking service coordinates the calendar and reminder provider.

A pet owner's phone connects to the booking service. The service connects to the calendar database and SMS provider.

The insight

Write both lists before drawing anything.

Trade-offs

Pros

  • Avoid costly rewrites.
  • Give the team shared vocabulary.
  • Find capacity limits early.

Cons

  • Delay shipping while investigating.
  • Risk planning for scale you never reach.

Use when

  • Money or safety depends on correct behavior.
  • The product will live long enough to evolve.

Avoid when

  • A disposable weekend prototype.
  • Requirements are too uncertain for detailed planning.

Quick check

Which is a non-functional requirement for the bus-tracking app?
What is the main difference between HLD and LLD?

Takeaways

  • System design = the parts plus how they talk.
  • Functional = what it does; non-functional = how well.
  • Speed and reliability requirements often decide how you arrange the parts.

Try the quick check above whenever you feel ready.