~/talk

Real-time Machine Learning: Architecture and Challenges

github:debnsuma
slides:none on file

Argues that fresh data beats stale data and maps concrete architectures: batch predictions, online with precomputed features, and near‑real‑time streaming. Names tools and tradeoffs—Spark, Flink, Kafka/Kinesis, BigQuery/Snowflake/Bigtable, Redis and DynamoDB for online stores—and describes patterns that work: precompute counters into Redis, use Kafka+Flink to update feature caches, lock‑and‑wait to guarantee train/serve consistency, and backfill for new logic. Gives cost examples (one team spends $2M/yr on Redis) and efficiency data (98% wasted batch predictions), and reports that streaming often works but raises operational complexity.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:27Fresh vs stale data debate
  3. 2:32Real-time ML use cases
  4. 5:20Batch vs online predictions
  5. 6:45Latency sources in predictions
  6. 7:28Batch predictions explained
  7. 8:32Online predictions with batch features
  8. 9:58Real-time feature computations
  9. 11:42Near real-time computations
  10. 13:26Balancing latency and freshness
  11. 16:05Feature stores in architecture
  12. 18:56Near real-time computation challenges
  13. 21:03Lock and wait approach
  14. 22:05Backfilling data challenges
  15. 24:35Combining batch and streaming data
  16. 26:20Streaming infrastructure management
  17. 27:45Unifying batch and streaming pipelines
  18. 30:04Cost considerations for real-time ML
  19. 33:12Retraining and freshness requirements
  20. 36:05Q&A on Redis and costs
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.