I am trying to develop a real time web application which is required to have scalable and concurrent architecture. Upto now I have nginx as a reverse proxy server. And tornado as the main server. Since tornado is python based, I am planning to use Django. But I wanted to know if PHP would be a better choice, seeing the web application's requirement? I dont want to loose the non-blocking functionality of the architecture though.
System Requirements :
- Able to serve concurrently to 1000's of users at a time.
- The system is collaborative like Google Docs.
- Some of the client requests require some time to get processed, these may be:
(a) Database Requests (b) Computation Requests - Security is an important aspect too.
Edit 1: Reading more about it, I gather that Tornado provides minimum basic functionality that is expected of a webserver.If we need more extensive functionality we could use Django, but in that case the system would loose its asynchronous nature. Am I right?