[zeromq-dev] Re2: Best design for a chat room.

krishnaLee sssky307 at 163.com
Wed Jul 22 10:54:06 CEST 2020


>Have you already checked Zyre?
No, but I had a look on it just now,
I think I can't using it because what I do now may be a part of my graduation project,




thank you.










At 2020-07-22 05:12:27, "Matteo" <matteo.brichese at gmail.com> wrote:

Hi,


Have you already checked Zyre?




On Sun, Jul 19, 2020 at 1:14 AM krishnaLee <sssky307 at 163.com> wrote:

Hi experts,


Though I have very few knowledges in network programming, I try to design a simple chat room server with some keypoints:
1, there is a server-node for uses to register themself /enter room /leave room/...
2, there are 0~100 room-nodes;
3, a room may contain o~1000 users;
4, any user can send a message to his/she's room;
5, then the room broadcast the message to all users in this room. 


My rough idea is: 
1, using "server-client" pattern between user and server-node;
2, using  "sub-pub" pattern for room broadcast messages to users, and using "push-poll" for room-users send message to a room;
or just using  "server-client" pattern between user-and-room...


My idea may be not very good and I can't decide which pattern or which pattern-combination is the best choice, 
can you give me some advices?


Thank you,
Krishna.
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200722/cbf04511/attachment.htm>


More information about the zeromq-dev mailing list