Alex Rivera | Logout

Twisted(asynch server) vs Django(or any other framework)

Asked 2009-09-11T17:09:48.687
15

I need help understanding what the advantage of using an asynch framework is. Suppose I want to develop a simple chat web app. Why cant I write python code in the Django framework that does long polling where I dont send a response back the server until someone enters a new msg. What does Twisted provide that gives it an advantage for real-time apps like the chat app?

Sorry I am obviously little confused about the need for an asynchronous framework.

Edit
Report

1 Answer

3

In twisted you can implement protocols of your own. Django certainly can't do this.

answered 2009-09-13T10:07:24.563

Your Answer