I use Ubuntu, Apache, Python 2.6, PostgreSQL, mod_wsgi.

For the love of god don't use CentOS for python web applications.

Just make sure to follow ALL of the web2py performance enhancements.

* Compile the app
* Sessions to database
* Make sure all database tables are designed to be thread safe

(ie: don't do things like this... db.table.insert(myid=db(db.table.id
> 0).select(orderby=~db.table.myid, limitby=(0,1)).first().myid + 1))

Also you might want to consider only using
form.accepts(request.vars)... when using sessions with forms can cause
reliability issues, even if your sessions are in the database.

http://web2py.com/book/default/chapter/11?search=performance#Efficiency-and-Scalability

--
Thadeus





On Mon, Aug 9, 2010 at 7:05 AM, Kenneth <[email protected]> wrote:
> Hello,
>
> I´m in the process of starting a newer server for my web2py
> applications and would like to hear your comments about what to use.
>
> Anything about hardware that I should remeber?
>
> As linux version I´m planing on using CentOS 5.5 as we use it on all
> our servers.
> Webserver: Apache and database MySQL.
> The server will not be runing anything other than web2py
> applications.
>
> Which python should I use? CentOS comes with 2.4 and I´m using 2.5 on
> my old server?
>
> Should I use CGI, FastCGI, WSGI, mod_wsgi, mod_python, or?
>
> The main application for the moment will have 900 registred users,
> with maybe 100 user using it at the same time.
>
>
> Kenneth
>

Reply via email to