1 unstable release

0.1.0 Jul 19, 2019

#22 in #leveldb


Used in agilulf_driver

MIT license

125KB
3K SLoC

Agilulf

A fast and asynchronous KV database


lib.rs:

A simple but fast KV database (like LevelDB)

This crate provide an abstraction layer of AsyncDatabase. User can select which database to use easily. Any struct implements AsyncDatabase trait can construct a TCP server.

It actually also provides some implementation of it:

  • Database stores data as LSM structure in disk.

  • MemDatabase uses a lock-free skiplist to store data in Memory. Note: with the increasing of the data size, it will become slower and slower.

TCP Server is built with romio and futures-preview. It spawns every connected tcp stream on a ThreadPool.

Dependencies

~11MB
~207K SLoC