cannyls

Crates.iocannyls
lib.rscannyls
version0.10.0
sourcesrc
created_at2018-10-17 05:51:14.136934
updated_at2020-08-07 08:45:03.334324
descriptionEmbedded persistent key-value storage optimized for random-access workload and huge-capacity HDD
homepagehttps://github.com/frugalos/cannyls
repositoryhttps://github.com/frugalos/cannyls
max_upload_size
id91104
size454,567
admins (github:frugalos:admins)

documentation

README

cannyls

Crates.io: cannyls Documentation Build Status License: MIT

CannyLS is an embedded and persistent key-value storage optimized for random-access workload and huge-capacity HDD.

CannyLS mainly has following features:

  • A local storage for storing objects that called as "lump":
    • Basically, a lump is a simple key-value entry
    • The distinctive properties are that the key is fixed length (128 bits) and suited for storing a relatively large size value (e.g., several MB)
  • Provides simple functionalities:
  • Optimized for random-access workload on huge-capacity HDD (up to 512 TB):
  • Aiming to provide predictable and stable read/write latency:
    • There are (nearly) strict upper bounds about the number of disk accesses issued when executing operations
      • One disk access when PUT and DELETE, and two when PUT
    • There are no background processings like compaction and stop-the-world GC which may block normal operations for a long time
    • For eliminating overhead and uncertainty, CannyLS has no caching layer:
      • It uses Direct I/O for bypassing OS layer caching (e.g., page cache)
      • If you need any caching layer, it is your responsibility to implement it
  • Detailed metrics are exposed using Prometheus

See Wiki for more details about CannyLS.

Documentation

Commit count: 133

cargo fmt