| Crates.io | gluesql_shared_sled_storage |
| lib.rs | gluesql_shared_sled_storage |
| version | 0.2.0 |
| created_at | 2024-03-06 20:07:12.552475+00 |
| updated_at | 2024-05-13 17:42:51.55129+00 |
| 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.