Re:Discover Flask
by jkarneges on Sunday February 21, 2016 @02:51PM
(#11146144)
I prefer to split a server app into a connection management layer and a backend logic layer. This way the backend can remain stateless which makes for easier maintenance. I use Django as the backend piece in most of my realtime apps (for example WebhookInbox) and it works great.
Of course, native support for long-lived connections in Django would be cool, if only because it would mean the connection management layer could be built with Django too.
Of course, native support for long-lived connections in Django would be cool, if only because it would mean the connection management layer could be built with Django too.