Skip to content
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

feat: replace leveldb with sqlite3 #365

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

charles-cooper
Copy link
Member

What I did

for our use case, sqlite should work just about as well as leveldb. (it may be slightly slower, but requests to sqlite3 should be in the 1us-10us range).

leveldb on python has two drawbacks:

How I did it

implement a "SqliteDB" with ttl for cached keys.

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant