You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Earlier this year, Deliveroo rebuilt the core of their dispatch algorithm in Rust. The dispatch algorithm allows us to plan far into the future, deciding which orders to offer to which riders in each of the cities that we operate in. The rewrite gave a massive improvement in the algorithm's runtime (>12.5x!), which has allowed us to do explore more of the assignment search space, resulting in a more reliable customer service and shorter delivery times.
This talk will explain how we embedded Rust code in our existing Ruby application. It will discuss how and why we incrementally moved the algorithm from Ruby into Rust, rather than embarking on a from-scratch rewrite. It will describe the extensions we made to the existing tooling[0] for embedding Rust in Ruby, and how it allowed us maintain a clean code-base during and after the transition.
Title / Título
Deliveroo: Ruby to Rust
Description / Descripción
Earlier this year, Deliveroo rebuilt the core of their dispatch algorithm in Rust. The dispatch algorithm allows us to plan far into the future, deciding which orders to offer to which riders in each of the cities that we operate in. The rewrite gave a massive improvement in the algorithm's runtime (>12.5x!), which has allowed us to do explore more of the assignment search space, resulting in a more reliable customer service and shorter delivery times.
This talk will explain how we embedded Rust code in our existing Ruby application. It will discuss how and why we incrementally moved the algorithm from Ruby into Rust, rather than embarking on a from-scratch rewrite. It will describe the extensions we made to the existing tooling[0] for embedding Rust in Ruby, and how it allowed us maintain a clean code-base during and after the transition.
[0] https://github.com/d-unseductable/ruru
Speaker Bio / Bio del Ponente
Michael is a senior software engineer in Deliveroo's Logistics Algorithms team.
Level / Nivel
Intermediate
Duration / Duración
~35 mins, plus questions
The text was updated successfully, but these errors were encountered: