Chris Marchbanks bedcd88343
Compress records before checking segment size (#8501)
Right now a new segment might be created unnecessarily if the
uncompressed record would not fit, but after compression (typically
reducing record size in half) it would.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2021-02-17 18:45:49 +05:30
..
2020-10-29 09:43:23 +00:00
2021-01-06 15:54:35 +08:00
2019-12-16 15:30:49 +00:00
2020-07-21 10:08:06 +02:00
2020-10-29 09:43:23 +00:00
2020-10-29 09:43:23 +00:00
2021-02-17 11:02:43 +05:30
2021-02-17 11:02:43 +05:30
2021-02-17 11:02:43 +05:30
2020-10-29 09:43:23 +00:00
2021-02-04 08:53:33 -06:00

TSDB

GoDoc

This directory contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.

A series of blog posts explaining different components of TSDB: