Python tornado setup

I want to use the Python infrastructure, which handles user (auth) sessions, templates, along with access to the MySQL database (although I can use MySQLdb pretty well)

A tornado looks promising, but I just don't see how to use it. The sample provided has the function of listening on ports. Does it replace Apache? Exactly how do I configure my server (Centos 5.4) and configure LAMP for this, or is there a better option?

+5
source share
5 answers

Use Django.

Tornado, , Django - . Tornado , Django , MySQL ORM.

+1
+9

websockets, ha-proxy (ngnix )

+1

LAMP (, apache mod_wsgi), , .

nginx .

0

, nginx.

0

All Articles