[web2py] Re: Deploying with default web2py server?
On May 30, 10:50 pm, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: For this reason it is best to deploy web2py behind Apache78http://www.apache.org/ , Lighttpd85 http://www.lighttpd.net/ or Cherokee86http://www.cherokee-project.com/download/ I just set up a site using nginx; so far, very impressed. Perhaps I should add a short howto in the book?
[web2py] Re: Deploying with default web2py server?
Please do - that would be an interesting read! On Jun 2, 5:42 am, cjrh caleb.hatti...@gmail.com wrote: On May 30, 10:50 pm, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: For this reason it is best to deploy web2py behind Apache78http://www.apache.org/ , Lighttpd85 http://www.lighttpd.net/ or Cherokee86http://www.cherokee-project.com/download/ I just set up a site using nginx; so far, very impressed. Perhaps I should add a short howto in the book?
[web2py] Re: Deploying with default web2py server?
I can add for myself, that under nginx + uwsgi web2py is twice time faster than Rocket (no offence :) ), look: nginx: httperf --hog --server web2py.server.tld (changed) --port 8443 --num- conns=1000 --num-calls=1 [...] Request rate: 1258.2 req/s (0.8 ms/req) [...] Rocket (standard web2py instalation): httperf --hog --server web2py.server.tld (changed) --port 8000 --num- conns=1000 --num-calls=1 [...] Request rate: 671.2 req/s (1.5 ms/req) [...] I'm using pld linux, but very usefull is file setup-web2py-nginx-uwsgi- ubuntu.sh in scripts/ in web2py_src.zip, the name of file is self-explanatory. :) On 2 Cze, 11:42, cjrh caleb.hatti...@gmail.com wrote: On May 30, 10:50 pm, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: For this reason it is best to deploy web2py behind Apache78http://www.apache.org/ , Lighttpd85 http://www.lighttpd.net/ or Cherokee86http://www.cherokee-project.com/download/ I just set up a site using nginx; so far, very impressed. Perhaps I should add a short howto in the book?
[web2py] Re: Deploying with default web2py server?
Nginx+uwsgi *ought to be* the deployment of choice for web2py. Materials need to be posted and updated on how to set up and tweak this configuration. This will complete the whole webp2y experience. Frankly, I have no idea why web2py should depend on Rocket, instead of using Python wsgi server for development. On Jun 2, 8:20 am, brushek luk...@chrustek.net wrote: I can add for myself, that under nginx + uwsgi web2py is twice time faster than Rocket (no offence :) ), look: nginx: httperf --hog --server web2py.server.tld (changed) --port 8443 --num- conns=1000 --num-calls=1 [...] Request rate: 1258.2 req/s (0.8 ms/req) [...] Rocket (standard web2py instalation): httperf --hog --server web2py.server.tld (changed) --port 8000 --num- conns=1000 --num-calls=1 [...] Request rate: 671.2 req/s (1.5 ms/req) [...] I'm using pld linux, but very usefull is file setup-web2py-nginx-uwsgi- ubuntu.sh in scripts/ in web2py_src.zip, the name of file is self-explanatory. :) On 2 Cze, 11:42, cjrh caleb.hatti...@gmail.com wrote: On May 30, 10:50 pm, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: For this reason it is best to deploy web2py behind Apache78http://www.apache.org/ , Lighttpd85 http://www.lighttpd.net/ or Cherokee86http://www.cherokee-project.com/download/ I just set up a site using nginx; so far, very impressed. Perhaps I should add a short howto in the book?
[web2py] Re: Deploying with default web2py server?
depends on the requirements of your system, but in principle the web2py development server is sufficient On 30 mayo, 21:58, ra3don ra3do...@gmail.com wrote: I apologize if this has already been answered somewhere. Are there any disadvantages to deploying using the default server that comes with web2py?
[web2py] Re: Deploying with default web2py server?
Ok, that answers my question. Thanks alot! On May 30, 3:50 pm, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: from the book (http://web2py.com/book/default/chapter/11) web2py comes with an SSL21http://en.wikipedia.org/wiki/Secure_Sockets_Layer enabled web server, the Rocket wsgiserver22 https://launchpad.net/rocket . While this is a fast web server, it has limited configuration capabilities. For this reason it is best to deploy web2py behind Apache78http://www.apache.org/ , Lighttpd85 http://www.lighttpd.net/ or Cherokee86http://www.cherokee-project.com/download/ On Mon, May 30, 2011 at 8:58 PM, ra3don ra3do...@gmail.com wrote: I apologize if this has already been answered somewhere. Are there any disadvantages to deploying using the default server that comes with web2py? -- Sebastian E. Ovide