-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔥 Sled and use RocksDB instead #170
Conversation
202aef7
to
4da5823
Compare
7816767
to
9a9742c
Compare
It does, thanks for that |
Looking good. I would go ahead and try to add the |
Have you considered using the Compaction Filter to implement the TTL?? |
@@ -8,7 +8,7 @@ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true | |||
ARG RUSTC_VERSION=1.67.1 | |||
RUN apk update \ | |||
&& apk upgrade \ | |||
&& apk add build-base binutils-gold openssl3-dev protoc protobuf-dev curl git \ | |||
&& apk add build-base binutils-gold openssl3-dev protoc protobuf-dev curl git linux-headers clang \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there may be issues with the new ubi8 based images #168
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally will be...
I do when disk optimized: https://github.com/Kuadrant/limitador/pull/170/files#diff-b41633d05540bf2734d97b29f9dab57f411c275100114fa933f6b0582cd04abaR124-R135 But it only will expire when compacting, this is ignored on reads... so you still need to deal with expired value on read, just less of them, depending whether they come from a segment that was compacted (I don't recall if the memtable get compacted when written to disk) |
Closed in favor of #178 |
This builds on and supersedes both #146 & #167 … It replaces sled as the underlying storage for local persistence with RocksDB using the Rust bindings… which both were extensively battle tested.
If we think this is indeed a better choice, it'd probably be worthwhile
git rebase -i
from HEAD of main, squashing all the work from the other PRs… I kept them as is for now, hoping this makes reviewing somewhat easier.