Hi,
Is it possible at all to simultaneously access the same Berkeley DB
environment from different machines? Is it doable at all are there any
other constraints besides a network filesystem with a correct 'fsync'
implementation? It's still not clear to me as the documentation only
mentions mutliple threads and processes, but doesn't talk about
"multiple machines"
The Berkeley DB architecture insists on using a shared memory pool.
Does that mean that I might end up with database corruption? I have a
case where I don't care whether one node has the latest data so I can
leave with a temporary inconherence between the views that two nodes
might have on the data. And I also have a case (where I would like to
use BDB to implement a distributed lock manager) where I would like all
nodes to have the latest and greatest data, the data being some sort
of a "lock table". More precisely:
1) If temporary inconsistencies b/w compute nodes are tolerable, is a
given BDB environment accessible from different servers in a "normal
way" (meaning the same way as multiple processes can access it).
2) Can I, for example, disable all caching and memory mapping and share
a BDB environment b/w nodes, and rely on BDB's own locking to insure
data consistency (every sees the same data, single-writer/multiple
readers...).
Thanks a lot!
Boris