Take-home: a service that aggregates public APIs with caching and a REST API

MediumSystem design45 minSWEPro outline

The question

Plan a take-home: build a backend service that calls several public APIs, combines their results, caches them and exposes a REST interface. You have a couple of days, any language, and must also submit written answers and a short slide deck covering both the technical and the business side.

How do you structure the work, the code and the deck?

What the interviewer is looking for

  • Scopes the work to a solid core before extras
  • Handles upstream failures, rate limits and slow APIs
  • Chooses a caching strategy and explains staleness
  • Writes tests and a README so reviewers can run it in minutes
  • A deck that explains trade-offs and the business value in plain words

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Thinking Machines Lab question type: Service that aggregates public APIs, caches results and exposes a REST interface.

Reported in: prachub.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Thinking Machines Lab question.