Wednesday 20 December 2006 5:06:06 am
I have implemented http://www.cbsa.ch, based on eZ Version 3.8.4, on a Windows 2003 server. The performance is not astounding, but acceptable. Main things to consider: - Give the server enough memory. 2 GB is the minimum. - Give PHP enough memory. We have set the memory_limit to 256M - Give the accelerator enough memory. We used APC with following settings: shm_size 128M, max_file_size 2M. With this settings and the cache block below, 99% of all request are handled by the APC cache. - Use few, but big {cache} blocks. In fact, I have just one big {cache} block in pagelyout.tpl, which spans from the very beginning to the place where {$module_result.content} is inserted (excluding). The cache block uses the page URI and the language as key:
{cache-block keys=array( $uri_string, $site.http_equiv.Content-language )
subtree_expiry=$uri_string
ignore_content_expiry}
Hope this helps. Regards, Donat
http://www.webmanufaktur.ch - Developers united in eZ Publish: http://www.cjw-network.com
|