Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Brokerless Messaging C#

I have a number of WPF clients on the same corporate network. I want these clients to share messages with each other. I don't want to run a separate server process so a brokerless solution would seem best. I have considered using PNRP but this seems to require a PNRP service to be running on each client, I'm not sure I could guarantee all the clients would or could be running this. I have also had a look at ZeroMq which looks ideal it terms of simplicity and its very lightweight, however I would need to know the endpoints for a TCP/IP style communication and each client won't be aware of the others rather they need someway to discover each other. So essentially I want a multicast style of communication but without having to use multicast since this will require me to get a range of addresses set up within the corporate network and involve infrastructure etc.

So I guess the question is are there any options I haven't considered that fit the bill?

Thanks in advance for any help.

like image 750
user630190 Avatar asked Dec 16 '25 23:12

user630190


1 Answers

The ZeroMQ pub-sub pattern is simple and fast until you reach hundreds of clients; you can switch to a real multicast protocol then (PGM) without modifying your application.

like image 110
Pieter Hintjens Avatar answered Dec 19 '25 11:12

Pieter Hintjens