[Zope] Zope vs Plone: performance issues!

Peter Bengtsson peter at fry-it.com
Tue Jan 24 10:14:28 EST 2006


On 1/24/06, Hugo Ramos <ramosh at gmail.com> wrote:
> Hi all,
>
> I'm responsible for a big corporate intranet and corporate portal.
> They were using Zope/Plone before I got here and the problems are too many.
>
> Let's talk about performance issues... Plone is VERY SLOW responding
> requests. All content is stored in ZODB objects and zcatalog is used
> to search. But even if you request the intranet home only, it takes
> about 10 seconds to load. The hardware is very good and lots of ram is
> used in the servers.
>
> They also have zeo + 2 zope instances running in the same machine.
> I've never seen this in my life... only 3 machines running 2 zope
> instances + zeo instance, separately.
>
> Do you think Zope(logic)+MySQL(content)+Apache(HTTP server) is better
> solution than Zope+Plone ???
>
Yes!
But not good enough.
Most performance issues with Plone can be solved by caching. Don't
underestimate it.
I know some companies that use Plone for content management but push
out the content in a very non-Plone way and cache that heavily and you
get a great result.
But, you're not going to get away from the 10 sec catalog search
problem. I doubt a ZCatalog search takes this long. Once in there it
should be possible to do a search on millons of bytes of text under 1
sec.

I have a ZCatalog instance here with roughly 55,000 cataloged
objectindices which corresponds to about 1.3Gb of text data. When the
IssueTrackerProduct does a search on this, the function
_searchCatalog() does 6 different searches on that catalog each!! and
here's a copy of some debug output
Search took 0.149714946747
Search took 0.271862030029
Search took 0.0381798744202
Search took 0.0339410305023
Search took 0.0346419811249
Search took 0.0137779712677
Search took 0.0435471534729

It's a 1Gb RAMed, Intel Mobile 1.6Mhz thinkpad laptop!!

Conclusion, ZCatalog is very fast and so is a correctly "cache-headed"
website with Squid.


> TIA
>
> --
> Hugo Ramos - ramosh at gmail.com
> Senior Zope consultant
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list