Brian Brazil 296f943ec4
More efficient Merge implementation. (#486)
Avoid a tree of merge objects, which can result in
what I suspect is n^2 calls to Seek when using Without.

With 100k metrics, and a regex of ^$ in BenchmarkHeadPostingForMatchers:

Before:
BenchmarkHeadPostingForMatchers-8              1        51633185216 ns/op      29745528 B/op      200357 allocs/op

After:
BenchmarkHeadPostingForMatchers-8             10         108924996 ns/op 25715025 B/op     101748 allocs/op

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2019-01-03 16:59:52 +00:00
2019-01-02 19:48:42 +03:00
2019-01-02 19:48:42 +03:00
2017-11-09 15:58:36 +00:00
2018-02-09 13:43:42 +01:00
2019-01-02 19:48:42 +03:00
2019-01-02 19:48:42 +03:00
2018-11-28 11:39:56 +01:00
2018-11-28 11:39:56 +01:00
2019-01-02 19:48:42 +03:00
2017-04-10 21:02:42 +02:00
2018-10-15 14:32:00 +03:00
2019-01-02 19:48:42 +03:00
2018-11-28 11:39:56 +01:00
2018-11-14 18:40:01 +02:00
2019-01-02 19:48:42 +03:00
2018-11-14 18:40:01 +02:00
2019-01-02 19:48:42 +03:00
2018-12-07 12:24:02 +03:00
2018-11-14 18:40:01 +02:00
2018-11-14 18:40:01 +02:00
2019-01-02 19:48:42 +03:00
2019-01-02 19:48:42 +03:00

TSDB Build Status

GoDoc Go Report Card

This repository 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.

Languages
Go 86%
TypeScript 12.7%
Yacc 0.5%
Shell 0.2%
SCSS 0.2%
Other 0.2%