3 ms·
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 ma
by jkarneges 11y ago
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.