2 ms·
So Uber's algorithm takes 58756 ns/op, and the fastest non-brutal algorithm took 471 ns/op. That's about 100 times faster. They used 40 machines to serve New Y
by twic 7y ago
So Uber's algorithm takes 58756 ns/op, and the fastest non-brutal algorithm took 471 ns/op. That's about 100 times faster.
They used 40 machines to serve New Year's Eve traffic. Perhaps with a better algorithm, they could have got away with one.
(Possibly not, because there's still a lot of HTTP and JSON munging work to be done, and the network card becomes a bottleneck at some point)