~/talk

Scaling out operational research with Rust

Talkat RustLab 2024 · 2024-11-09..11-11· [rust, distributed-systems]
slides:none on file

Rust code replaces orchestration around an existing C++ optimizer to run vehicle routing at production scale: a Rust runner out-of-process spawns split subproblems, merges partial solutions, and keeps the original Java API unchanged. The system handles about 220,000 requests/day (~800,000 computations), including tiny jobs solved in milliseconds and huge ones (20k services, hundreds of vehicles) previously taking 2.5 hours now reduced by splitting to ~12–13 minutes. Operates on Kubernetes + Redis + S3, delivers hundreds of computations per second, and works in production with minor Rust pain points (Tokio lifetimes, CI caching, Redis tuning).

AI-written summary · about

  1. 0:00Introduction
  2. 3:58Company history
  3. 10:01Legacy C++ challenges
  4. 11:48Why Rust for scaling
  5. 14:13Rust runner design
  6. 17:03Scaling up vs out
  7. 20:37Algorithm service architecture
  8. 24:27Kubernetes deployment challenges
  9. 26:36Handling latency spikes
  10. 28:01Rust preprocessing
  11. 30:14Future algorithm plans
  12. 33:01Rust in production
  13. 36:15Rust strengths and pain points
  14. 41:32Rust for operational research
  15. 42:13Building trust in Rust
  16. 45:23Healthy workplace importance
  17. 46:00Q&A
~/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.