Voici vite fait comment on profite du quad-core bi-proc multicoeurs avec zope/zeo/pound ... le tout en commandes debian.
Inspiré de : http://plone.org/documentation/how-to/simple-zope-clustering-with-squid-and-pound

apt-get -uVf install plone-site pound
dzhandle -z 2.10 make-zeoinstance sgel_zeo
dzhandle -z 2.10 make-instance sgel2 --zeo-server=localhost:8100 -m all
dzhandle -z 2.10 make-instance sgel3 --zeo-server=localhost:8100 -m all
dzhandle -z 2.10 make-instance sgel1 --zeo-server=localhost:8100 -m all
dzhandle -z 2.10 make-instance sgel4 --zeo-server=localhost:8100 -m all
modifiez les ports de chaque instance (par exemple 9673, 9674, 9675, 9676)
vim ~/zope/instances/sgel*/etc/zope.conf
dzhandle add-product sgel1 CMFPlone
dzhandle add-product sgel2 CMFPlone
dzhandle add-product sgel3 CMFPlone
dzhandle add-product sgel4 CMFPlone
dzhandle zeoctl sgel_zeo start
dzhandle zopectl sgel1 start
dzhandle zopectl sgel2 start
dzhandle zopectl sgel3 start
dzhandle zopectl sgel4 start
vim /etc/pound/pound.cfg pour remplacer
BackEnd Address 127.0.0.1 Port 8080 End
par
Service BackEnd Address 127.0.0.1 Port 9673 End BackEnd Address 127.0.0.1 Port 9674 End BackEnd Address 127.0.0.1 Port 9675 End BackEnd Address 127.0.0.1 Port 9676 End End
/etc/init.d/pound restart
tapez sur http://localhost:8080
ajoutez un site plone
pour tester, lancez htop pour voir l'activité et regardez la différence entre :
- apt-get -uVf install apache2-utils
- /usr/sbin/ab -n 100 -c 100 localhost:8080/plone
et
- /usr/sbin/ab -n 100 -c 100 localhost:9673/plone
nice!
- ZLogilab A set of installer utilities, an index for tree-like structures.
- cmfsourcefactory projects publication product for plone 1
- ClassificationScheme A plone (2.1.x) product that helps building document management services
- Munin Plugins for Zope
- logilab-common #49937 [unittest2] get package into backports for lenny