Forums / Developer / Cluster performance / Comment50877
Jérôme Renard
Thursday 19 March 2009 3:25:15 am
I guess that it is advised to put Varnish in front even without cluster ?
Yep.
We have a big client for which we have integrated Exponential 4.0.1 and they chose to use NFS with a dedicated filer and 2 front Apache webservers. The webservers DocumentRoot actually points to a unique Exponential instance on this filer. It works well (we have a full Akamai CDN) but I wonder if it is a good choice vs cluster mode...
Akamai's CDN != Exponential cluster mode.
The main problem with this architecture is that PHP currently doesn't support flocks with NFS (but the problem should be resolved with the new stale cache in 4.1, shouldn't it ?)
Actually the problem is the following :
- locking with PHP is usually done through flock - Exponential uses flock - NFS does not support flock - it is possible to lock on NFS using pecl_dio- pecl_dio is no longer maintained http://pecl.php.net/package/dio, but still available on CVS : http://cvs.php.net/viewvc.cgi/pecl/dio/