Because we store a lot of trees
mwdomino / forst Goto Github PK
View Code? Open in Web Editor NEWSimple KV datastore in rust
Simple KV datastore in rust
We'll need a Dockerfile
and build script to create a release image for this so it can more easily be embedded into projects.
Add environment variables to configure the server:
LISTEN_PORT
- default to 7777MAX_HISTORY
- default of 5For get/set/delete/etc
This should be NestedMap-wide and when enabled enforce all get/set/query/delete actions to convert the keys to lowercase.
Allow args like REMOTE_HOST
and REMOTE_PORT
to allow for pointing the CLI at different hosts than just localhost:7777
This will require an ID allocation per-write which is not sustainable. Move to the method of implementing timestamps into the Item
struct and during expiration delete any items who have surpassed 98% of their TTL when the event fires.
The timestamp should be provided via the proto as an option, and just use system time if it is not provided. This way the caller can manage the source of their timestamps.
We currently have one smoke test for the ExpirationManager
but should include more with mixed expirations to ensure that not only does it work, but that it does not delete keys erroneously when multiple timers are set.
Need to create a README.md to explain what this project is and how it works, as well as how it is intended to be used. Should include a description of each RPC.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.