Conversation
|
@hmottestad How will you handle parallel writes from multiple threads? (I also thought about using native isolation but dropped it in favor of parallel write support.) |
At the moment I've just been prompting Codex until all the tests have passed. Still one failing test though, which is a test with a lot of threads :( What I wanted to know is if I can leverage the transaction isolation in LMDB to simplify the ID-based joins approach. Maybe it won't work, or maybe there is some in-between solution that I need. Not sure yet, just experimenting. |
|
@hmottestad Something like a query-local ID service for values could maybe help here. If the value ID is already known within the underlying store then this ID is used, else a new ID is generated based on a query-local lookup table. |
743699e to
c79b203
Compare
|
Running benchmarks with 4 threads Develop branchI suspect that the Also noting that This branch |
c79b203 to
d91f78f
Compare
|
Obviously some correctness issues still, since the SHACL test is failing. That test relies heavily on the transaction isolation being correct and uses a lot of concurrent connections and multiple threads. |
GitHub issue resolved: #
Briefly describe the changes proposed in this PR:
PR Author Checklist (see the contributor guidelines for more details):
mvn process-resourcesto format from the command line)