All Questions
Llm Gateway Cost And Caching hard

EU tenants contractually require inference to stay in the EU. Your gateway's failover policy sends traffic to the cheapest healthy endpoint worldwide, and during an EU region outage it routed EU requests to a US endpoint. What is the right design?

  1. A Failover is acceptable as an emergency exception, since residency rules apply to stored data and not to transient inference requests.
  2. B Keep global failover but require TLS on every cross-region call, which satisfies residency since the US endpoint never stores plaintext.
  3. C Make residency a hard constraint applied before cost and health, so EU traffic fails over only within the EU or degrades instead.
  4. D Restrict only the semantic cache to the EU, since cached responses are stored data, while routing live requests to any healthy region.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions