Forums / Developer / Anyone tested Turck MMCache together with eZ Publish?

Anyone tested Turck MMCache together with eZ Publish?

Author Message

Jakob Vad Nielsen

Thursday 16 October 2003 3:36:37 am

Have anyone tested Turck MMCache for PHP?

http://sourceforge.net/forum/forum.php?forum_id=318491

Ole Morten Halvorsen

Thursday 16 October 2003 3:59:54 am

Yes, it's currently bundled with the Windows installer and works pretty well so far.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Hans Melis

Thursday 16 October 2003 4:22:07 am

I use Turck MMCache both at work and at home (both PCs run Windows XP). The results are rather good.

With all ez publish caching enabled, my home pc rendered pages in 0.3s. MMCache reduced that to 0.2s (33% faster).

My PC at work managed to do pages in 1.1s with all caching enabled. With MMCache, it was further reduced to 0.5s (~50% faster).

Installing MMCache is easy as well, so I do recommend it if you're running Windows. For Linux, there might be better PHP accelerators, but I don't have any experience with other PHP accelerators.

--
Hans

Hans
http://blog.hansmelis.be

Paul Forsyth

Thursday 16 October 2003 4:47:52 am

It worked well for our sites at visionwt.com for a while but we've recently hit scalability problems as a result of co-hosting many ez sites.

Hopefully we will hear back from the developers about this problem.

Paul

Alex Jones

Thursday 16 October 2003 7:18:12 am

We saw a noticable improvement with Turck on our FreeBSD servers as well. Though we are also looking at an additional step of creating flat files (perhaps via eZ SiteCopier) to truly speed the site up.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Shaun Ellis

Thursday 16 October 2003 1:01:54 pm

Paul,
Can you elaborate at all on the scalability problems or point me to where I could learn more? We're trying to decide on the best accelerator and we will be hosting a few ez sites.

Thanks,
Shaun

Paul Forsyth

Friday 17 October 2003 1:36:28 am

The problem with Turck happened this week.

Tony Wood will be able to tell you more but he is away for the next few days. I'll pass this on and let him reply but it will be Sunday/Monday before he can do so.

Paul

Tony Wood

Monday 20 October 2003 1:56:24 am

Shaun,

I would be interested in your experiences in accelerators . We have found once you get past 10 or so sites the accelerators fail. We needed to removed the APC, PHP Accelerator and Turck as all of them failed when many sites are hosted.

Turck was the best but started to cause problem when we hit around 67,000+ cache files. The problem appears to be the number of eZ cached files being generated, the accelerator just can't cope.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Paul Borgermans

Monday 20 October 2003 9:39:22 am

Perhaps there is another option when doing mass virtual hosting: use a separate "front-end" server with the apache ProxyPass directive inside virtual hosts or use the apache rewrite engine with proxy modes to forward requests to other servers.

In this way, you can have several instances of apache/php caches running, each in their own "realm" and serving each only a few sites.

It has other advantages too, like shutting down one server does not affect the others; or to throw a sorry/maintenance page if you need to work on one of them requiring them to go off-line for a while.

I use that also on pubsvn.ez.no (running apache2) to direct to an older 1.3 httpd, serving the ezp 3.1 manuals and sdk which is otherwise not accessible from "outside".

The memory overhead is not so much (but mass hosting also implies a large amount of ram anayway)

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Tony Wood

Monday 20 October 2003 10:07:07 am

Paul,

Your right, mass hosting has two angles, the first the amount of sites, the second the number of hits.

I am beginning to think that for the number of sites we host a PHP accelerator is not an option, but there again we can just pop a apache front end machine into the mix to get more speed. We run 2.4ghz machines with 2gb or ram in a failover cluster. So if there is a need i'll bring the other online for load balancing to add a bit more speed. At the moment the machines are end being pushed once eZ compiles its really quick :)

tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future