Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deliveroo: Ruby to Rust #13

Closed
mjkillough opened this issue Nov 12, 2018 · 0 comments
Closed

Deliveroo: Ruby to Rust #13

mjkillough opened this issue Nov 12, 2018 · 0 comments

Comments

@mjkillough
Copy link

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

@ferjm ferjm closed this as completed Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants