Crates.io | crossbeam-skiplist-mvcc |
lib.rs | crossbeam-skiplist-mvcc |
version | 0.4.3 |
created_at | 2024-10-21 21:36:29.817281+00 |
updated_at | 2024-12-26 11:49:32.225866+00 |
description | Support MVCC (Multiple Version Concurrent Control) for `crossbeam-skiplist`. |
homepage | https://github.com/al8n/crossbeam-skiplist-mvcc |
repository | https://github.com/al8n/crossbeam-skiplist-mvcc |
max_upload_size | |
id | 1417961 |
size | 185,327 |
Support MVCC (Multiple Version Concurrent Control) for crossbeam-skiplist
.
There are two kinds of multiple version concurrent control SkipMap
:
nested::SkipMap
The inner is SkipMap<K, SkipMap<u64, Option<V>>>
.
SkipMap
, the compaction can only remove the values in the inner SkipMap
,
this key cannot be removed any more. So, this may lead to high memory usage.flatten::SkipMap
The inner is SkipMap<Key<K>, Option<V>>
.
nested::SkipMap
, flatten::SkipMap
will store the same key multiple times, so this may lead to high memory usage.nested::SkipMap
[dependencies]
crossbeam_skiplist_mvcc = "0.3"
crossbeam-skiplist-mvcc
is under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2024 Al Liu.