[elephant-devel] using one store with mutiple lisp instances
Ian Eslick
eslick at media.mit.edu
Wed May 4 18:51:20 UTC 2011
BDB does not work across multiple machines, its transaction support relies on a shared memory region to handle locking so any shared memory architecture (with multiple CPUs) works fine but separate machines and a NAS device don't work. You'll have to use the Postgres store (5x slower, but reasonably scalable) if you want concurrent access to a single Elephant DB from multiple machines.
On May 4, 2011, at 11:37 AM, Lukas Georgieff wrote:
> Hi Leslie,
>
>> Hi Lukas,
>>
>>> Has someone any experience using elephant in that manner?
>>
>> Yes -- lots in fact. But you need to ask a specific question.
>
> well, if the points I've mentioned before are correct, I've only one
> specific question :-)
>
> We want to share a network device that contains the Berkeley-DB files.
> This BDB shall be accessed by two or more other machines that execute a SBCL
> interpreter with our program.
>
> I am not sure if this works similar to executing two SBCL instances on one
> machine, because I don't know if the elephant-bdb-locking works
> Across several machines!
>
>
> Thanks in advance,
>
> Lukas
>
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel
More information about the elephant-devel
mailing list