performance optimization
naive flushing implemented with a throttler.