Implement flusher. Performance optimization.