Sockify (LLD)
Sockify enables real-time communication between servers. When a server receives a message from a client, it publishes it to Redis. Other servers can then subscribe to the channel and receive the message. Kafka acts as a buffer for messages published to Redis. Servers producing messages send them to a Kafka topic. A separate consumer service retrieves messages from Kafka and persists them in the database.