Repository navigation
Add a loadable TS.* time-series module - #60
Merged
Merged
Conversation
Chunked Gorilla-style delta-of-delta and XOR compression, with range aggregation, label filters, retention, and RDB/AOF persistence. The compressor follows the published Gorilla paper and is not taken from another time-series product. Co-authored-by: Admin <GoDeskio@users.noreply.github.com>
GoDeskio
force-pushed
the
cursor/timeseries-module-afeb
branch
from
November 5, 2026 10:49
8663d51 to
3f1520c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
modules/timeseries, a loadable module with the usualTS.*commands: create, add, madd, get, range, revrange, mrange, del, and label updates.TS.MRANGEfilters on labels. Retention drops samples older than the newest timestamp minus the window. RDB and AOF rewrite restore the series.Tests
modules/timeseries/chunk_test: compression round-trip fuzz, aggregation against a naive bucket implementation, and a 1,000,000-point check (about 6.1 bytes/sample, under 8MB).tests/unit/timeseries.tcl: command behavior, duplicate policies, label filters, retention, RDB reload, and AOF rewrite.make -jandmake test: 5890 passed, 0 failed.Do not merge or deploy until Dustin says so.