Re: [ZODB-Dev] How to check for setting the same values on persistent objects?

2011-05-05 Thread Alexandre Garel
Le 04/05/2011 11:53, Hanno Schlichting a écrit : > Hi. > > I tried to analyze the overhead of changing content in Plone a bit. It > turns out we write back a lot of persistent objects to the database, > even tough the actual values of these objects haven't changed. > > Digging deeper I tried to und

[ZODB-Dev] Any risk about foreign zodb references

2011-07-18 Thread Alexandre Garel
Hello, We are building up an application where we use multiple zodb instances. Indexation is done using solr. zodb are served through zc.zodbwsgi. ZODB connections are set only on-demand, upon traversal. Each zodb has its intid local utility. Each object also has a uuid. I have a zodb with glo

Re: [ZODB-Dev] Any risk about foreign zodb references

2011-07-19 Thread Alexandre Garel
Le 18/07/2011 18:16, David Glick a écrit : > On 7/18/11 9:08 AM, Alexandre Garel wrote: >> Hello, >> >> We are building up an application where we use multiple zodb instances. >> Indexation is done using solr. >> zodb are served through zc.zodbwsgi. ZODB connection

Re: [ZODB-Dev] zope.testing has to be installed separately

2012-02-28 Thread Alexandre Garel
Le 28/02/2012 09:43, Aroldo Souza-Leite a écrit : Hi list, to have the ZODB3 tests run in a Python virtualenv successfullly I had to pip-install zope.testing separately. Is it the declared intention of the ZODB3 developers? Yes this is intended, the test requirements, are separated from pac

Re: [ZODB-Dev] database conflict fail

2012-03-23 Thread Alexandre Garel
to have a transaction.begin() after lock.acquire. So you know the other transaction is committed and you won't have any conflict in you new transaction. Does it helps ? Alex -- Alexandre Garel 06 78 33 15 37 ___ For more information about ZOD

Re: [ZODB-Dev] RelStorage gives MySQL error when rebuilding catalog in Plone/ZMI

2012-03-27 Thread Alexandre Garel
Le 27/03/2012 18:50, J Z a écrit : Sorry about the terrible format. Please allow me to try it again. I have a Plone 4.1 site using RelStorage to store the zodb in MySQL 5.5 server. The site has 700 objects cataloged and the database is less than 300MB after packing. I won't consider it's a larg

Re: [ZODB-Dev] How does automatic retrying work?

2012-03-30 Thread Alexandre Garel
xcept Exception, e: transaction.abort() do_retry = isinstance(e, ConflictError) Hope this helps ! Alex -- Alexandre Garel 06 78 33 15 37 ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev

Re: [ZODB-Dev] server stops handling requests - nowhere near 100% CPU or Memory used

2012-04-20 Thread Alexandre Garel
Le 20/04/2012 16:06, Claudiu Saftoiu a écrit : Ah, so it seems that, as I leave the server running longer & longer, more & more threads are taken up with a `.recv()` call. I think one of my clients opens requests and does not read them/close them. Eventually all the threads a

Re: [ZODB-Dev] unable to import ZODB: class ConflictError, AttributeError

2012-06-13 Thread Alexandre Garel
Le 13/06/2012 18:57, Ralf Hauenschild a écrit : Hello guys, i've been desperately trying to install ZODB3 via the following ways: - easy_install ZODB3 - installation of Zope2 - manual installation of ZODB3, preceeded by installation of the requested packages from pypi I'm using Ubuntu and Pyt

Re: [ZODB-Dev] unable to import ZODB: class ConflictError, AttributeError

2012-06-14 Thread Alexandre Garel
Le 14/06/2012 10:06, Ralf Hauenschild a écrit : Am 14.06.2012 09:18, schrieb Marius Gedminas: On Wed, Jun 13, 2012 at 10:58:01PM +0200, Ralf Hauenschild wrote: Am 13.06.2012 19:36, schrieb Alexandre Garel: Le 13/06/2012 18:57, Ralf Hauenschild a écrit : Hello guys, i've been desper

Re: [ZODB-Dev] unable to import ZODB: class ConflictError, AttributeError

2012-06-14 Thread Alexandre Garel
Le 14/06/2012 11:20, Ralf Hauenschild a écrit : Am 14.06.2012 10:58, schrieb Alexandre Garel: Le 14/06/2012 10:06, Ralf Hauenschild a écrit : Am 14.06.2012 09:18, schrieb Marius Gedminas: On Wed, Jun 13, 2012 at 10:58:01PM +0200, Ralf Hauenschild wrote: Am 13.06.2012 19:36, schrieb Alexandre