This is a design question I came across, I've searched on the net and on stackoverflow but haven't found something that answers this use case. The question is to design a simple chat server that can serve multiple clients (one chat room, message is broadcast to all connected clients, no authentication to connect).
When a new client joins (or when an old client reconnects), the client is shown the last 10 messages. However, the chat server needs to be designed without using a database or message queue. Any language or platform can be used to implement this. Can you help point me in the right direction? Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire