[elephant-devel] Accessing a DB from multiple processes
Ian Eslick
eslick at media.mit.edu
Fri Mar 18 18:17:14 UTC 2011
I've done this successfully in testing and I know people who have done this in production. Also many modern lisps use OS threads and multi-threaded apps work fine.
Cheers,
Ian
On Mar 18, 2011, at 10:31 AM, Kevin Raison wrote:
> I am curious about this use case for Berkeley DB; can someone confirm
> that multiple Lisp images can access a single BDB store without problems?
>
> Thanks,
> Kevin
>
>
> On 01/25/2008 03:14 AM, Henrik Hjelte wrote:
>> On Jan 25, 2008 11:53 AM, Leslie P. Polzer <leslie.polzer at gmx.net> wrote:
>>>
>>> I know that Elephant is thread-safe. Am I right in that I can also
>>> open a store from separate Lisp images?
>>
>> The postmodern backend is almost optimized for this use case, with its
>> globally synced cache.
>>
>> clsql backend works as well.
>>
>> bdb backend should work... I had some problems with BDB in this use
>> case, but that was some time ago so I don't know the current state.
>>
>> Note that multiple image access is not tested in the elephant
>> testcases. There is code for testing this in the project grand-prix on
>> common-lisp.net
>>
>> /Henrik
>> _______________________________________________
>> elephant-devel site list
>> elephant-devel at common-lisp.net
>> http://common-lisp.net/mailman/listinfo/elephant-devel
>
> _______________________________________________
> 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