Search code examples
xodus

How does concurrent access to Xodus via MVCC work


Xodus doc states it provides MVCC. This indicates, that it can be accessed concurrently. On the other hand doc for class Environment states: "It is not possible to share a single database directory between different environments."

Which is true? Can I access a Xodus database in read-only mode while it is open for some other process?


Solution

  • Xodus is an embeddable database for JVM, so it can be accessed concurrently within a single process. As of now, development of concurrent access to a Xodus database from within multiple processes is in progress.