Iris is a service discovery and load balancing library built on top of ZMQ. It uses the Majordomo Pattern to build a basic DEALER-ROUTER-DEALER pattern.
It does not adhere to the exact protocol specified in the zmq specifications for message exchange.
Basic examples are available in the examples
directory.
After pulling dependencies using Godep and installing Zeromq 4.1 launch each of the components on separate terminals
go run examples/broker.go
go run examples/client.go
go run examples/worker.go
go run examples/worker.go
go run examples/worker.go
You may run as many copies of the worker and the client.
- Heartbeat checks
- Service Listings
- Realtime monitoring
- Logging of events.