Part 8 of 8 · 2 min read
Exercises
Easy
Easy 1: Top three (20 minutes)
Pick a system you know. List its top three characteristics from Level 0 and a reason for each.
Done when: three characteristics with a reason each.
Hint
Pick from the list on Level 0, page 5.
Easy 2: Monolith or distributed (20 minutes)
For three systems (a blog, a ride-hailing app, an internal payroll tool), state whether one set of characteristics suffices and what that implies.
Done when: three answers with a reason.
Hint
Ask whether some part needs far more scale or uptime than the rest.
Easy 3: Sync or async (20 minutes)
For five links in a shop (search, payment, email, stock update, recommendations) choose sync or async using FSA's default.
Done when: five choices, each with a reason.
Hint
Use sync unless the caller can carry on without the answer, or a burst has to be absorbed.
Medium
Medium 1: Build a matrix (30 minutes)
Make a decision matrix with four styles and five characteristics for a system of your choice. Fill every cell with strong, moderate or weak, and say where you got each rating.
Done when: a filled matrix and a source note for each cell.
Hint
Use the words in the style chapters, not your own hunch.
Medium 2: Isomorphism hunt (30 minutes)
Find three problems whose shape matches a style and three that clash with one. Explain each in two sentences.
Done when: six short explanations.
Hint
Heavy customisation fits plug-ins. Tightly linked context fits a monolith.
Medium 3: Queue arithmetic (30 minutes)
A service handles one request in 400 ms. A burst of 25 requests arrives together. Compute the wait of the last request with direct calls and give a plan with a queue. Mark numbers as made up.
Done when: a calculation and a plan.
Hint
The last request waits 25 times 400 ms.
Hard
Hard 1: Full choice for a new product (45 minutes)
A start-up builds a booking platform with 8 developers. Write the choice: inputs, top characteristics, quanta, style, data and communication. Include one ADR in the format of page 1.
Done when: a one-page design with an ADR.
Hint
With 8 developers, count the services each person would run.
Hard 2: Defend the monolith (45 minutes)
A senior colleague wants microservices on day one. Write a response that uses the inputs in section 2 and the cases in section 5. Say what evidence would change your mind.
Done when: a response with at least four reasons and three change-your-mind signals.
Hint
Cover team size, domain knowledge, automation and cost.
Hard 3: Design out loud (50 minutes)
Take a case study problem from any book or site. Write the three-minute spoken answer: needs, quanta, style, data, communication, trade-offs and one fitness function.
Done when: a script of about 450 words and a list of the follow-up questions you expect.
Hint
Say what you give up, as well as what you gain.