4 ms·
ZeroMQ sockets can connect or bind, and this is independent of the socket type. If you want to load balance requests against a dynamic number of responders, jus
by jkarneges 11y ago
ZeroMQ sockets can connect or bind, and this is independent of the socket type. If you want to load balance requests against a dynamic number of responders, just have the responders connect their REP sockets to a set of bound REQ sockets.
- lobster_johnson 11y agoBut you still need to know the IPs and ports of the endpoints to connect to. This is what I mean by discovery.
- chisleu 11y agoZeroMQ merely solves exposure of sockets as queues. In all distributed systems, there must be a set of known hosts, or discovery becomes tedious. DNS is an easy way to solve this.
- lobster_johnson 11y agoZeroMQ is an abstraction that hides a lot of complexity for you in the name of convenience, and there's no reason why it couldn't abstract discovery, too. Instead you have to build it from scratch for every client app.
- chisleu 11y agoI guess I just see it as too easy to solve w/o adding custom complexity to ØMQ.