Skip to content
StackDecode
System Design
1. System Design FundamentalsAnimated

What is System Architecture?

The high-level structure of a system: its components, their responsibilities and how they communicate.

The idea

Architecture is the set of big decisions that are expensive to change later: how the system is split, where data lives, and how parts talk to each other.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

PresentationBusinessPersistenceDatabase
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Each layer talks only to the layer below it.

step:
1/4
at:
Presentation
1/10

The green dot is a request moving through the system.

Step by step

  1. 1Identify the main responsibilities
  2. 2Group them into components or services
  3. 3Define the interfaces between components
  4. 4Choose technologies that fit the qualities you need

Where it is used

Setting the shape of a product before writing code.

Watch out for

Over-designing early. Start with the simplest structure that meets today's needs.

Related