[ZODB-Dev] RelStorage 1.5.1 and persistent 4.0.5+ Incompatible (patch)

2013-03-07 Thread jason . madden
Hi all, We recently started testing with newer versions of ZODB3 and RelStorage, specifically ZODB3 3.11.0a1 together with the current release of RelStorage 1.5.1. The updated ZODB3 release brings in the newly-independent release of persistent (currently 4.0.6), and together there seems to be a

Re: [ZODB-Dev] RelStorage 1.5.1 and persistent 4.0.5+ Incompatible (patch)

2013-03-07 Thread Sean Upton
On Thu, Mar 7, 2013 at 7:31 AM, wrote: > I only spotted two uses of this assumption in RelStrorage, the > above-mentioned `_prepare_tid`, plus `pack`. The following simple patch to > change those places to use `raw` makes our own internal tests (python2.7, > MySQL) pass. Why not fork https://

Re: [ZODB-Dev] RelStorage 1.5.1 and persistent 4.0.5+ Incompatible (patch)

2013-03-07 Thread jason . madden
On Mar 7, 2013, at 11:35, Sean Upton wrote: > On Thu, Mar 7, 2013 at 7:31 AM, wrote: >> I only spotted two uses of this assumption in RelStrorage, the >> above-mentioned `_prepare_tid`, plus `pack`. The following simple patch to >> change those places to use `raw` makes our own internal test

[ZODB-Dev] Cache warm up time

2013-03-07 Thread Roché Compaan
We have a setup that is running just fine when the caches are warm but it takes several minutes after a restart before the cache warms up. As per usual, big catalog indexes seem to be the problem. I was wondering about two things. Firstly, in 2011 in this thread https://mail.zope.org/pipermail/zod

Re: [ZODB-Dev] Cache warm up time

2013-03-07 Thread Claudiu Saftoiu
I was having this same issue. Persistent caching helped a little bit but not too much. I didn't end up implementing this but ultimately the best thing to do seemed to be to have a different server with a different zodb that only handles indexing. That way it will never restart and lose its cache. T

Re: [ZODB-Dev] Cache warm up time

2013-03-07 Thread Leonardo Rochael Almeida
This mail from Jim at this list a couple of years ago was stocked full of nice tips: https://mail.zope.org/pipermail/zodb-dev/2011-May/014180.html In particular: - Yes, use persistent cache. Recent versions are reliable. Make it as large as resonable (e.g at most the size of your packed database

Re: [ZODB-Dev] Cache warm up time

2013-03-07 Thread Roché Compaan
Thanks, there are definitely some settings relating to the persistent cache that I haven't tried before, simply because I've been avoiding them. I'd still be interested to know if one can leverage the Relstorage memcache code for a ZEO cache, so if Shane doesn't get around to it I'll have a stab a