Building a Realtime Chat App With Django and Fanout Cloud

See the original posting on DZone Python

Chat is one of the most popular uses of realtime data. In this article we’ll explain how to build a web chat app in Django, using Django EventStream and Fanout Cloud. The Django EventStream module makes it easy to push JSON events through Fanout Cloud to connected clients.

Introduction to Django and Realtime

Django was created in 2003 when websites were orders of magnitude simpler than they are now. It was built on a request-response framework – the client sends an HTTP request, Django receives it, processes it, and returns a response back to the client.