Playing in Tune: How We Refactored Cube to Terabyte Scale

Philip Kromer

February 14, 2013

Facebook ShareLinkedin ShareReddit ShareTwitter ShareGoogle+ Share

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.

Try MongoDB Atlas, our fully-managed
database as a service.

Available on AWS, Azure, and GCP.