Commit graph

116 commits

Author SHA1 Message Date
Fabian Reinartz 5e76fd3126 chunks: drop shift, remove branch
This removes the need for the shift value and just calculates
everything on the fly through count.
Removes a branch condition.
2016-11-30 21:50:39 +01:00
Fabian Reinartz c9ee572709 chunks: don't mutate in bstream iterator
This replaces mutation of underlying bytes in the iterated slice
with a shift counter, which is used when reading the head byte.
This is avoids having to copy the entire slice for every new iterator.
2016-11-30 19:39:22 +01:00
Fabian Reinartz f392c01c12 chunks: add randomized test 2016-11-29 22:43:24 +01:00
Fabian Reinartz fa181a34c1 chunks: cleanup anything but xor encoding
xor encoding is fast enough for our purposes and provides
very good compression.
We remove all other ones that partially don't support floats
for the sake of simplicity.
2016-11-29 22:02:58 +01:00
Fabian Reinartz e67cf768dc chunks: remove intermeidate copy from xor chunk 2016-11-20 16:24:46 +01:00
Fabian Reinartz 7874d28f32 chunks: implement xor encoding 2016-11-20 14:33:00 +01:00
Fabian Reinartz 342aa82505 Fix pages and index package 2016-11-15 15:53:48 +01:00
Fabian Reinartz af36c89178 Make adapter work + comment it out
The adapter drags in a whole dependency chain of Prometheus internal
packages due to its storage's hideous structure.
With dependency flattening the adapter can actually be included into
Prometheus in a working way but it breaks package builds. Thus we
comment it out until we found a way to fix this contraption.
2016-11-15 11:46:17 +01:00
Fabian Reinartz 3ad4db56aa Remove Prometheus internal metric type from interface 2016-11-15 11:43:34 +01:00
Fabian Reinartz 40c27a1c2f Add benchmark utility 2016-11-15 10:35:42 +01:00
Fabian Reinartz cca6de1030 Add Prometheus adapter 2016-11-15 10:35:02 +01:00
Fabian Reinartz f9f11c4a08 Add main db implementation 2016-11-15 10:34:25 +01:00
Fabian Reinartz e79b5b38f4 Add pages package 2016-11-15 10:34:01 +01:00
Fabian Reinartz 752c7eea35 Add index package 2016-11-15 10:33:44 +01:00
Fabian Reinartz ae7b18ae34 Add chunk package 2016-11-15 10:33:34 +01:00
Fabian Reinartz 7771cdb519 Initial commit 2016-11-15 09:17:15 +01:00