urbanairship/datacube — pull request #30 by timrobertson100 (2012-07-29 13:29:07+00:00)
Title: Optimization of backfill process when live cube is empty (uses snapshot of backfill)

The backfill process does:
a) snapshot it (empty table)
b) run backfill
c) merge backfill, snapshot into live

This commit detects if the live cube is empty, in which case option c) becomes a straight copy into live from the backfill.

When developing a new cube, you often are rebuilding the cube from scratch. It is useful to use backfill during this development cycle, knowing it will be used in the future. However, it is painfully slow to populate a an empty cube, do to the amount of puts it spawns.

Thanks Dave!