Design: a multi-tenant AI gateway

Lesson 23 of 26 · Full designs · 3 min Get the course to watch

Once several services in your company call model providers, each one adds its own keys, its own retries, and its own idea of a timeout.

When the provider has a bad hour, all of them retry at once and your bill and your latency go up together. A gateway turns that into one place with one policy.

The rest of this lesson

  • Requirements
  • The design
  • Choices and what we rejected
  • Caching with care
  • What we would watch
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.