You can get free CDN from CloudFlare.
And now the weirdest thing:
Enabling two CPUs on the virtual machine gave me the following weird
results:
nginx: 31.92 [#/sec]
apache: 10.63 [#/sec]
rocket: 10.36 [#/sec]
So 1000 request with a concurrency of 20 on 2 CPUs actually slows down
apache and rocket. I thought that apache and rocket
Python multithreaded programs (all of them, including rocket and
mod_wsgi) decrease performance the more CPUs you have. This is because
of the GIL. It is a well known problem and, in view, the biggest
problem with Python. In the case of apache, to improve things, you
have to configure apache to
This comparison was intended to help writing the why web2py paragraph from
the book (https://groups.google.com/d/topic/web2py/29jdfjejwZo/discussion )
I understand and it is very much appreciated. I will correct it.
massimo
On Dec 11, 10:15 am, rif feric...@gmail.com wrote:
This comparison was intended to help writing the why web2py paragraph from
the book (https://groups.google.com/d/topic/web2py/29jdfjejwZo/discussion)
Any chance of trying uwsgi on its own, something like this
uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler --http :
80 -s /tmp/we2py.sock
Thanks
Peter
On Dec 11, 1:10 pm, rif feric...@gmail.com wrote:
In the same environment I tested nginx configuration:
nginx: 1.0.10
uwsgi:
Compiled uwsgi 0.9.9.3 (the 0.9.8.1 did not now about pythonpath)
uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler --http :80 -s
/tmp/we2py.sock uwsgi.log 21
1 CPU: 17.83 [#/sec] (better than rocket)
2 CPUs: 17.98 [#/sec]
uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler
Compiled uwsgi 0.9.9.3 (the 0.9.8.1 did not now about pythonpath)
uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler --http :80 -s
/tmp/we2py.sock uwsgi.log 21
1 CPU: 17.83 [#/sec] (better than rocket)
2 CPUs: 17.98 [#/sec]
uwsgi --pythonpath /opt/web-apps/web2py --module
8 matches
Mail list logo