liveBook · Manning

Fallback

As explained in Machine Learning Platform Engineering

A fallback strategy defines an alternative provider, model, or execution path used when the preferred path fails or cannot satisfy a request.

A fallback strategy keeps an application available by defining an alternative provider, model, or execution path when the preferred path fails or cannot satisfy a request. In LLM systems, fallback complements retry logic, monitoring, and graceful degradation. section 12.2.3 section 13.4.6

Production fallback planning includes:

  • Keep OpenAI or Claude available as backup options when Gemini availability or capacity becomes a concern. section 12.2.3
  • Combine fallback with exponential backoff for temporary throttling, monitoring for token usage, and broader graceful-degradation strategies. section 12.2.3 section 13.4.6

Provider fallback for a hosted LLM

A high-availability application uses Gemini as its preferred provider, tracks embedding and generation token usage, retries temporary throttling with exponential backoff, and maintains OpenAI or Claude as backup options. section 12.2.3

How Machine Learning Platform Engineering covers it

How deep it goes
Defines provider fallback and places it alongside retry, monitoring, and graceful degradation, but gives no configuration procedure.
Examples
Uses OpenAI or Claude as backup options for Gemini and pairs fallback with throttling retries and token monitoring.
What it assumes
Assumes familiarity with LLM service calls, rate limits, and monitoring while treating fallback as a production reliability concern.
What you can do after
Apply it by selecting backup providers alongside retry and monitoring controls for high-availability LLM services.
How it connects
Connects fallback to rate limiting, exponential backoff, monitoring, high availability, and graceful degradation.

Also explained in

Compare how 15 books explain fallback →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning Platform Engineering. The section links point to the parts of the book it draws on.