I think we'll also want to update the flush thread to run more frequenetly than the bucketing interval, so that points are flushed soon after the buckets are finished. maybe every 1 or 2 seconds?