papaya

Crates.iopapaya
lib.rspapaya
version0.1.4
sourcesrc
created_at2021-11-10 21:33:03.462692
updated_at2024-10-14 23:23:35.550826
descriptionA fast and ergonomic concurrent hash-table for read-heavy workloads.
homepage
repositoryhttps://github.com/ibraheemdev/papaya
max_upload_size
id479896
size255,467
Ibraheem Ahmed (ibraheemdev)

documentation

README

papaya

crates.io github docs.rs

A fast and ergonomic concurrent hash-table for read-heavy workloads.

See the documentation to get started.

Features

  • An ergonomic lock-free API — no more deadlocks!
  • Powerful atomic operations.
  • Seamless usage in async contexts.
  • Extremely scalable, low-latency reads (see performance).
  • Predictable latency across all operations.
  • Efficient memory usage, with garbage collection powered by seize.

Performance

papaya is built with read-heavy workloads in mind. As such, read operations are extremely high throughput and provide consistent performance that scales with concurrency, meaning papaya will excel in workloads where reads are more common than writes. In write heavy workloads, papaya will still provide competitive performance despite not being it's primary use case. See the benchmarks for details.

papaya aims to provide predictable and consistent latency across all operations. Most operations are lock-free, and those that aren't only block under rare and constrained conditions. papaya also features incremental resizing. Predictable latency is an important part of performance that doesn't often show up in benchmarks, but has significant implications for real-world usage.

Commit count: 132

cargo fmt