[elephant-devel] Concurrency problem?

Pierre THIERRY nowhere.man at levallois.eu.org
Wed Nov 1 17:40:48 UTC 2006


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
-- 
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20061101/7fb7be64/attachment.sig>


More information about the elephant-devel mailing list