prometheus/wal
Fabian Reinartz d951140ab8 wal: avoid heap allocation in WAL reader
The buffers we allocated were escaping to the heap, resulting in large
memory usage spikes during startup and checkpointing in Prometheus.
This attaches the buffer to the reader object to prevent this.

Signed-off-by: Fabian Reinartz <freinartz@google.com>
2018-07-19 07:25:30 -04:00
..
wal.go wal: avoid heap allocation in WAL reader 2018-07-19 07:25:30 -04:00
wal_test.go wal: add segment type and repair procedure 2018-07-19 07:24:40 -04:00