4 releases (2 breaking)

new 0.11.1 Jan 8, 2025
0.10.0 Dec 17, 2024
0.3.1 Nov 28, 2024

#449 in Database interfaces

Download history 290/week @ 2024-11-25 322/week @ 2024-12-02 410/week @ 2024-12-09 175/week @ 2024-12-16 160/week @ 2024-12-30 131/week @ 2025-01-06

514 downloads per month

MIT license

86KB
2.5K SLoC

Minimalistic database

The library allows to store a value associated with a key.

The size of the value must not be larger than 1.5 MiB (1536 kiB).

The size of the key can vary and is limited by 1 kiB.

ACID is not tested well.

TODO:

  • Protect metadata page against hardware failure.
  • More tests.
  • More tests for ACID.

Difficult

  • Extent allocation -> Unlimited value;
  • Better parallelism.

lib.rs:

Database Maximal size: (2 ^ 44) B = 16 TiB Maximal key size: (2 ^ 10) B = 1 kiB Maximal number of records: 2 ^ 30 Maximal value size: 1572864 B = 1536 kiB

Dependencies

~2–13MB
~163K SLoC