Wednesday, May 30, 2012

OpenERP using multi-processors with gunicorn

Due to Python limitation (aka GIL), OpenERP is basically single processor powered !

Starting 6.1, OpenERP is a wsgi application. Provided you use a good wsgi container you can now
benefit from all capabilities of your hardware.

Basic stuff:

easy_install gunicorn
easy_install psutil

Update the gunicorn.conf.py (db host, etc)

gunicorn openerp:wsgi.core.application -c gunicorn.conf.py

gunicorn provided you the ability to manage your worker process making openerp more reliable.

Config info for optimization etc at gunicorn.org

Enjoy !

No comments: