You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@
3
3
Julia `Dict` and `Set` data structures safely persisted to disk.
4
4
5
5
All collections are backed by [LMDB](https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database) - a super fast B-Tree based embedded KV database with ACID guaranties.
6
-
As with other B-Tree based databases reads are generally faster than writes. LMDB is not an exception, although write performance is relatively good to (expect 1k-10k TPS).
6
+
As with other B-Tree based databases reads are faster than writes. However, write performance is still decent (expect 1k-10k TPS).
7
7
8
-
Care was taken to make the datastructures thread-safe. LMDB handles most of the locking well, we just have to serialise the writes to an LMDBEnvironment in julia so that
9
-
multiple threads do not attempt to write at once (deadlock will occur).
8
+
Care was taken to make the data structures thread-safe. LMDB handles most of the locking well - we just have to exclusively lock the `LMDB.Environment` when writing
9
+
to prevent multiple threads opening multile write transactions (deadlock will occur).
0 commit comments