Database abstraction
cuprate_database is Cuprateβs database abstraction.
This crate abstracts various database backends with traits.
All backends have the following attributes:
- Embedded
- Multiversion concurrency control
- ACID
- Are
(key, value)oriented and have the expected API (get(),insert(),delete()) - Are table oriented (
"table_name" -> (key, value)) - Allows concurrent readers
The currently implemented backends are:
Said precicely, cuprate_database is the embedded database other Cuprate
crates interact with instead of using any particular backend implementation.
This allows the backend to be swapped and/or future backends to be implemented.
This section will go over cuprate_database details.