Know each other
Description
The core functionality of ardei
is for it to run on multiple machines, and the instances to be able to talk to each other.
Acceptance criteria
- have a hard-coded list of 5 hosts to talk to
- stay alive always and wait for messages
- send a "hello" to each instance every 60 seconds
- reply to "hello" with "world"
Research topics
- Use REST APIs or sockets?
- Use threads and worker pools?
Notes
- Test with a docker-compose stack with 5 instances, and hard-coded service hosts in the code
- Print to stdout when sending and when receiving