MicroDB
A microsized database for use in programs with too much data for the RAM, but not necessarily for your next incredibly successful Discord clone (tho I suppose you could make that work too).
Completed features
- Disk storage
- Getting, setting, allocation, deallocation
- Caching
- Automatic recovery on error
- Serialization for basic types (numbers, strings, vecs, options, results)
- Easy-to-implement serialization
- Derivable serialization
- (maybe) Multi-client support over TCP
- (maybe) Mirroring operations to backup server (needs TCP)
How to use it
MicroDB runs where your application does: Saving, cache synchronization, etc all happen simply in another thread of your application.
To get started, create a DB:
let db = create
Or load one using ::new and leave out the block_size arg.
And now you're good to go!