komora-io/concurrent-map
소개
락 프리 B+ 트리입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalconcurrent-map
Lock-free linearizable map.
get,insert,cas,remove,iter,range,get_gt,get_gte,get_lt,get_lte,first,last,pop_first,pop_last- fully lock-free node splits and merges based on the sled battle-tested implementation.
concurrent-mapcan be though of in some ways as a simplified, in-memorysledthat supports high-level types. - initially designed for use in sled's next generation object store, marble.
The ConcurrentMap allows users to tune the tree fan-out (FANOUT)
and the underlying memory reclamation granularity (LOCAL_GC_BUFFER_SIZE)
for achieving desired performance properties. The defaults are pretty good
for most use cases but if you want to squeeze every bit of performance out
for your particular workload, tweaking them based on realistic measurements
may be beneficial. See the ConcurrentMap docs for more details.
If you want to use a custom key type, you must
implement the Minimum trait,
allowing the left-most side of the tree to be
created before inserting any data.
This is an ordered data structure, and supports very high throughput iteration over lexicographically sorted ranges of values. If you are looking for simple point operation performance, you may find a better option among one of the many concurrent hashmap implementations that are floating around. Pay for what you actually use :)
The minimum supported rust version (MSRV) is 1.70.
관련 프로젝트 살펴보기
불러오는 중…