[elephant-devel] Concurrency problem?

Robert L. Read read at robertlread.net
Wed Nov 1 17:58:36 UTC 2006


I have attached the gzipped tar of my current DCM directory.

If you can't read it, I'll post it to the elephant project website.



On Wed, 2006-11-01 at 18:40 +0100, Pierre THIERRY wrote:

> Scribit Robert L. Read dies 31/10/2006 hora 08:54:
> > 1)  The serializer is definitely not thread-safe. [...]
> > 
> > 2)  CLSQL is not threadsafe unless you use a separate connection in
> > each thread. [...]
> 
> Well, I was not aware of those problems. That is a quite huge step
> forward.
> 
> > 1) If your access to Elephant is in some relatively narrow place, that
> > is, you can find a few pieces of code where all of the elephant
> > requests occur, you can put mutexes around those.
> 
> I basically maintain all of my objects in Elephant with the help of
> persistent-metaclass...
> 
> > 2)  Depending on the demands of your application, you might be able to
> > put in a smaller number of higher-level mutexes
> 
> I may try that first.
> 
> > 3)  I'd be happy to publish my current version of DCM to anyone who
> > wants it, but it is SBCL specific, and I personally don't know how to
> > do mutexes under any other LISP.
> 
> I'll try to take a look at it, and see if I could convert it to
> bordeaux-threads.
> 
> > I know that may not be terribly helpful
> 
> At least now I have a clue on where the problem is. That *is* helpful...
> 
> Exclusively,
> Nowhere man
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20061101/4e53c77e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dcm.tgz
Type: application/x-compressed-tar
Size: 72851 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20061101/4e53c77e/attachment.bin>


More information about the elephant-devel mailing list