diect-rs

Crates.iodiect-rs
lib.rsdiect-rs
version0.3.0
sourcesrc
created_at2020-09-07 02:32:09.845671
updated_at2020-09-08 09:13:33.545926
descriptionA simple Redis-like dictionary containing values that will die (or expires).
homepagehttps://diect-rs.herokuapp.com/
repositoryhttps://github.com/hbina/diect-rs
max_upload_size
id285578
size106,321
Hanif Ariffin (hbina)

documentation

README

diect-rs - Di(e)ctionary

A simple Redis-like dictionary containing values that will die (or expires).

Usage

There are two types of storage supported.

Transient

In this mode, the service will store the values in RAM. Therefore, it will be gone if the service restarts or whatever.

Persistent

If you want something that have more guarantees that it will remain valid, you can use the persistent mode. This mode will be slower, but it will be backed by a database. Therefore, it is less prone to being gone.

Watching Development

Use this command to watch,

systemfd --no-pid -s http::5000 -- cargo watch -x run

TODO

  1. Improve performance of queries by hashing the values instead of using raw Strings.
  2. Add other features like BloomFilters and generally try to achieve parity with Redis.
Commit count: 0

cargo fmt