influxdb/wal
Paul Dix d9c72bb93f
feat: optimize wal with batching (#6399)
* feat: optimize wal with batching

Simplified the wal writer so that it batches up write operations. Currently it waits 10ms between fsync calls. We can pull this out to a config variable later if we want, but I think this is good enough for now.

Also updated the reader to be a more simple blocking reader without the extra tasks and channels as that wasn't really getting us anything that I know of.

* chore: cleanup wal code for PR feedback
2022-12-14 16:07:20 +00:00
..
src feat: optimize wal with batching (#6399) 2022-12-14 16:07:20 +00:00
tests feat: optimize wal with batching (#6399) 2022-12-14 16:07:20 +00:00
Cargo.toml feat: optimize wal with batching (#6399) 2022-12-14 16:07:20 +00:00