zeromq / netmq

A 100% native C# implementation of ZeroMQ for .NET
Other
2.95k stars 744 forks source link

Majordomo with cluster where i have number of separate broker/worker sets #820

Closed KamranShahid closed 3 years ago

KamranShahid commented 5 years ago

Environment

NetMQ Version:    4.0.0.207
Operating System: Windows/Linux
.NET Version: .net core 2.1.6    

Expected behavior

Make cluster of brokers which will load balance as per worker availability.

Actual behavior

At the moment i have Majordomo pattern implemented as per https://github.com/NetMQ/Samples . For load balancing i am using nginix. What i want is to avoid nginix and do load balancing with zmq/netmq

Please guide me how to achieve.

somdoron commented 5 years ago

Deploy multiple majordomo brokers, each talking to all workers. Then the client can be a dealer that connects to all brokers. Dealer socket automatically do round robin.

KamranShahid commented 5 years ago

Client ideally needed to know single external address to communicate. also trying interbrokerouter sample but it's seems not to work. have posted an issue there

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.