k732gram
#
python
django
centrifugo
docker
docker-compose
pug
stylus
Internal messenger on Django. Features: ability to get list of people who read the message. Powered by Centrifugo.
![k732gram UI](/images/k732gram.jpg)
Django is designed to handle stateless requests, not stateful sockets. Instant messaging doesn’t fit into that design. We need a pub/sub service to deal with instant message notifications, and Centrifugo is the one, because it’s designed as a user-facing pub/sub server just like we need. Another options are long/short polling, but they’re not as effective.
![Instant messaging scheme](/images/centrifugo.png)