Playing in Tune: How We Refactored Cube to Terabyte Scale

Philip Kromer, CTO, Infochimps

February 14 2013

Slides

We recently refactored cube (a MongoDB-backed real time metrics dashboard by Square) to handle nearly a billion requests per day on a single node. Config file tunables were least and last: the right algorithm, a picture of how mongo handles data, and careful tracing let us play to mongo's strengths, turning a terabyte scale flow into intelligible insight.