Ne recompter que ce qui bouge

A recipe for keeping a live state over thousands of elements that never stop moving (vehicles, players, sensors, sessions): a queue absorbs the peaks, a grid of cells files each element, one counter per cell is updated by difference, and two safeguards keep the number honest. The running example is a ride-hailing app right after a concert. Uber has only published pieces of its system (its hexagon grid, how surge is computed, demand forecasting): the rest is the classic engineering-interview answer, not a description of their production setup.

View on Coeurdar