[Django]-Running django on twisted.web

3👍

hi Kyle: you can check out hendrix which we use at my company its pretty cool and does that for you it is simple to run hx start --dev… and it uses Tiempo another cool product to do multithreading and monitoring… https://github.com/hendrix/hendrix

Why another Python server?

Gunicorn and uWSGI are great at what they do: listen on a port for requests and pass those requests on to a WSGI app.

Instead of being first-and-foremost a WSGI container, Hendrix is
first-and-foremost a network engine – a Twisted application.

As such, Hendrix is natively able to do threading, asynchrony,
websocket traffic, and speak directly to other services in your
architecture.

https://github.com/hendrix/hendrix/tree/master/examples/django_hx_chatserver

Leave a comment