~/talk

ML Latency No More- Useful Patterns to Reduce ML Prediction Latency to Sub X ms

Talkat PyData NYC 2022 · 2022-11-09..11-11· [machine-learning]
links:none on file
slides:none on file

Argues that latency is a business constraint not a nicety: treat ~100 ms as the cutoff (examples use <10 ms timeouts), measure optimizing vs satisficing metrics, and move heavy work offline into batch jobs and a low‑read‑latency feature store. Describes an ML Gateway, precomputed prediction stores with top‑N cache + fallback live predict, and vector search with Annoy/ScaNN. Claims these patterns cut serving latency at the cost of engineering and storage tradeoffs.

AI-written summary · about

  1. 0:00ML latency challenges
  2. 1:47Why latency matters
  3. 3:53ML abstraction layers
  4. 7:05Online prediction pain
  5. 8:28Split construction and serving
  6. 10:13Optimizing vs satisficing
  7. 12:17Distributed I/O vs local latency
  8. 13:00Model input features
  9. 15:50Dynamic real-time features
  10. 17:56Pre-computation strategies
  11. 18:59Entity cardinality handling
  12. 21:56Cost-latency trade-offs
  13. 23:22Exact vs approximate matching
  14. 25:51Caching predictions
  15. 26:55Primitive whole systems
  16. 28:46Offline to online transition
  17. 30:54Question and answer session begins
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.