A simple but fast KV database (like )
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.
A Database with LevelDB algorithm. (Though the compaction of sstable is not implemented yet)
Database factory, which can be used in order to configure the properties of a new database.
A simple RAM only database with skiplist as kernel.
A simple TCP server constructed by a foreign database with the help of
Abstraction layer for a AsyncDatabase. Every method return a Future.
Abstraction layer for a SyncDatabase. Every method should return directly.