Crates.io | gluesql_shared_sled_storage |
lib.rs | gluesql_shared_sled_storage |
version | 0.2.0 |
source | src |
created_at | 2024-03-06 20:07:12.552475 |
updated_at | 2024-05-13 17:42:51.55129 |
description | GlueSQL shared sled storage, for concurrency and stability |
homepage | |
repository | https://github.com/kanekoshoyu/gluesql_shared_sled_storage |
max_upload_size | |
id | 1165169 |
size | 21,632 |
The stock SledStorage does not do concurrency. I added RwLock and transaction state on top of SledStorage
to make it as easy to use as the stock SharedMemoryStorage
.
Sled
is lockedSet await_active_transaction
as true to await for the active transaction to commit. Set false to just return error when there is active transaction.