The article walks through the architecture and implementation of a server that supports channel subscriptions, message publishing, and fanout using Redis.
Topics covered:
- WebSocket connection handling - Redis Pub/Sub for message distribution - inbound/outbound message loops - channel subscription management - basic architecture for real-time messaging systems
The full source code is available here: https://github.com/sanzor/Ctesiphon
Would be curious to hear feedback from people working on messaging infrastructure or real-time systems.