~/talk

Powering Crowd-sourcing of Public Transit Delays with Rust

Talkat RustFest Barcelona 2019 · 2019-11-09..11-12· [rust, microservices]
slides:none on file

Rust services power a crowdsourced train-delay pipeline that actually runs for months without restarting, handling about 100 daily reporters, producing ~400–500 notifications per peak hour, and serving projected arrivals every 7–10 seconds. It uses tower gRPC, actix actors, Tokio timers, nats.io and Firebase, keeps route and trip state in memory with a simple HashMap, and cuts infrastructure from ~40 GB RAM to a 1 GB container. Expect processes vehicle samples every 7–10s and reduced RAM from ~40GB to <1GB.

AI-written summary · about

  1. 0:00Intro
  2. 1:36Background
  3. 2:37Metro Trains
  4. 3:16Infrastructure Issues
  5. 5:00Data
  6. 6:07Solution
  7. 7:05Architecture
  8. 8:24Example
  9. 8:43Notify Users
  10. 9:08Calculate Delays
  11. 9:36Location Samples
  12. 10:16Trip Status
  13. 11:26Sample Processing
  14. 12:00Spatial Data
  15. 12:21Vehicle Spins
  16. 13:10Vehicle Spins Evolution
  17. 14:13Notification Service
  18. 15:28Actives
  19. 17:04Why Rust
  20. 19:15Questions
~/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.