Varnish in ezp based community

Author Message

Andreas Kaiser

Wednesday 04 February 2009 10:57:29 am

Hi community,

We have a developed a community site based on ezp 4.x.

Now we are planing to improve performance and server load in case the community grows.

We have heard a lot of great things about varnish. And ezp 4 has some extension to make easier the interaction of ezp with varnish.

The problem we have, is that the content of our site is related with the user that is logged-in.

So most of the pages are specific for every user that is loading the page. Some extension like eZ Varnish Login or eZSI seem to make life easier in dynamic sites.

Any similar situation where a http accelerator has been used with community sites?

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Stéphane Couzinier

Wednesday 04 February 2009 2:20:19 pm

Hi

You can use varnish to cache the global page.
In the page add ESI include to retrieve dynamic content.
To cache dynamic content for each user, you can use memcache.

http://www.kouz-cooking.fr

Andreas Kaiser

Thursday 05 February 2009 12:01:02 am

Thanks Stéphane,

I used xcache as php accelerator for dynamic content, but memcache seems to be much better for large installations because the possibility of sharing cache between webservers.

I'm also thinking of using a faster webserver than apache (like lighttpd or nginx) for serving files of the var directory.

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Stéphane Couzinier

Thursday 05 February 2009 7:03:25 am

for static file you can use a light apache2 setup.
We have made some test of both setup and we found the same result.

If you want something complex ;-):
1.Nginx/apache as a proxy only to compress page
2.Varnish for basic cache (page+image) and ESI (varnish can use ESI with gzip content)
3.apache2 ezpublish +static file (HTML)
4.memcache+SQL

http://www.kouz-cooking.fr

Andreas Kaiser

Monday 20 April 2009 12:19:22 pm

Hi Stéphane,

I will think about your comment - I like complex server architecture ;)

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Carlos Revillo

Tuesday 21 April 2009 12:24:08 am

Hi,

For the login problems, have you tried ezvlogin? http://projects.ez.no/ezvlogin.

Regards.

Andreas Kaiser

Tuesday 21 April 2009 6:38:01 am

Hola Carlos,

Not in this case, but yes I've been testing evlogin and the other varnish related extensions.

I'm new to varnish and making lot of tests :)

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.