Skip to the workspace
Pebellslearn by building
Understand the Basics  ›  Lesson

What Is Software Architecture?

What is Software Architecture 12 minSoftware architecture is the set of structural decisions about a system that are expensive to change later, together with the reasons for them.

software architect / What Is Software Architecture?

Explore each scene at your own pace.

01 · The rule

The rule

What Is Software Architecture?

Meet DabbaGo, a Pune startup that delivers home-cooked lunch tiffins to office workers. Customers order by 10:30 am, home kitchens cook, and riders deliver by 1 pm. Its first version was built in a hurry by three engineers. Two years later, one early choice, a single database shared by every part of the app, is the reason every release takes a week. That choice was architecture, even though nobody called it that at the time.

The rule

Architecture is the set of decisions that are expensive to change.

Every system is full of decisions. Most are cheap: the colour of a button, the name of a variable, the wording of an error. A few are expensive: what the main parts of the system are, how they talk to each other, where the data lives, and which qualities matter most. Those few are the architecture.

Unpack the rule in three parts:

  • Structure. The big parts of the system. For DabbaGo: a customer app, a kitchen dashboard, a rider app, and the server and database behind them.
  • Relationships. How those parts depend on each other. Do the kitchen dashboard and the rider app read the same tables, or do they send each other messages?
  • Reasons. Why each big choice was made. A decision without its reason is a trap for the next team, who cannot tell whether it is safe to change.

So architecture is not a diagram. A diagram is a picture of the architecture. The architecture is the set of choices, and it exists whether anyone drew it or not. DabbaGo had an architecture from day one; it just was not a deliberate one.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.