Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
PickleDB
PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I have, and there's a set of microbenchmarks in the repository. There are two links to reports on that page -- one that's executed on GitHub Actions, which can have quite widely varying performance, and one that's executed on a "dedicated" VPS instance from Scaleway -- exact specs are on that page. I've kicked off another run on that VPS, since it hasn't been run since October. It takes a while to run, so if it still says October, try hitting refresh a little later.
BonsaiDb: An offline or networked database which offers a key-value store in addition to ACID-compliant document storage. Requires using tokio.
I would think one that is based on Serde, like PickleDB, could be a good choice.
If you need distributed access then redis
I have two solutions I've been working on and thinking about. The first is a way to manage multiple formats of data stored in the database, by offering a way to transition old versions to the current version. A possible benefit of this approach is that it doesn't require rewriting your data at the time of schema migration. Some users may not want that extra cost (if there is any), and would prefer a way to update the data.