[Zope-dev] ZCatalog caching with memcached

Fabio Rizzo Matos fabiorizzo at gmail.com
Sun Oct 26 13:54:35 EDT 2008


Hi Roché,

I can see your funkload profile?

On Sun, Oct 26, 2008 at 3:43 PM, Roché Compaan
<roche at upfrontsystems.co.za>wrote:

> On Sat, 2008-10-25 at 09:20 +0200, Hedley Roos wrote:
> > > Have you measures the time needs for some "standard" ZCatalog queries
> > > used with a Plone site with the communication overhead with memcached?
> > > Generally spoken: I think the ZCatalog is in general fast. Queries
> using a
> > > fulltext index are known to be more expensive or if you have to deal
> with
> > > large resultsets or complex queries.
> > >
> >
> > No I haven't. Roche Compaan has done extensive benchmarking using
> > funkload testing plain catalog vs module level cache vs memcached, but
> > the tests are more about page serving than catalog query time. I'll
> > ask him to comment more on that.
>
> I actually did some profiling as well and catalog searches were just too
> damn slow. The average execution time for searchResults was 100
> milliseconds and this is why I told Hedley we should do some caching at
> query level in the first place. I experimented with this idea a couple
> of years back but wasn't successful due to inexperience. I was trying to
> cache brains which obviously leads to persistency bugs. This time around
> it was obvious to me that we should cache the IISet result sets.
>
> I suspect specific indexes are just performing suboptimally and needs to
> be improved. ExtendPathIndex in Plone seems to be one of them.
>
> The effect on performance is really awesome, now we just need to fine
> tune the implementation.
>
> --
> Roché Compaan
> Upfront Systems                   http://www.upfrontsystems.co.za
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )
>



-- 
Fábio Rizzo Matos
ThreePointsWeb
fabiorizzo at threepointsweb.com
http://www.threepointsweb.com
+55 61 3202-6480

Python, Zope e Plone com quem entende do assunto!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20081026/fbb7d448/attachment.html 


More information about the Zope-Dev mailing list