Index/Serving

Get Premium
CourseML System Design · 0618 minPremium

Serving

Getting predictions to users inside a budget: batch versus online inference and the hybrid most systems use, the request path stage by stage, latency budgets that add up, approximate nearest-neighbour indexes and their memory, caching, quantisation and distillation, CPUs versus GPUs, a cost-per-prediction model you can defend and the fallbacks that keep a page rendering when a model is slow.

Premium

Part of the ML System Design course, on the Premium plan

Readers with Lifetime Access read it in full. Already bought it? Sign in from the top bar.

What’s inside

  • 1. Batch, online or both
  • 2. The request path
  • 3. Approximate nearest-neighbour retrieval
  • 4. Caching
  • 5. Making models cheaper
  • 6. Hardware and cost
  • 7. Timeouts and fallbacks
  • What goes wrong
  • Drills
  • Check yourself