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 -- [EMAIL PROTECTED] OpenPGP 0xD9D50D8A
signature.asc
Description: Digital signature
_______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel