tkiefhaber/son_of_store_engine — pull request #35 by marktabler (2012-04-30 19:54:23+00:00)
Title: Cache top seller

Caching the calculated value of a top_seller, by store, until a new order for that store is placed.

When the calculation must run, for 10,000 products, the full request is ~ 330ms.
When the cached value is present, the full request is closer to ~110