Reputation: 10752
I see a lot of people using django with tornado using WSGIContainer. Does this make any sense? Tornado is supposed to be asynchronous, but Django is synchronous. Aren't you just shooting yourself in the foot by doing that?
Upvotes: 1
Views: 542
Reputation: 9226
I haven't seen big projects that use tornado in front of django. But technically, you can do monkey.patch_all()
with gevent
. And then tornado will make sense. It's really bad solution, but if all you need is async unstable django waiting for you with chainsaw at the corner to cut your legs off instead of shooting them - then that is yours.
Upvotes: 3
Reputation: 4440
Django comes with a debug server, so i guess, using Tornado with Django, the Tornado here is the mix of Apache + mod_WSGI
Upvotes: 0