Distributed

Lesson 01.5

API gateway & request aggregation

An API gateway is an entry point that can check access, route requests, and combine responses from multiple services under a shared deadline.

One page needs three answers

Ava wants the cookie page to show stock, prices and suggestions. Ben waits while the shop's computer asks each other computer in turn. One slow answer holds up the whole page.

In this lesson you'll

  1. 1Decide which answers a page must wait for and which it can show as missing
  2. 2Follow one run and learn how to read the picture
  3. 3Predict what changes before revealing the result
  4. 4Make the optional service even slower and still return the essential answers on time