hivesolutions / appier

Joyful Python Web App development
http://appier.hive.pt
Apache License 2.0
127 stars 22 forks source link

Instances auto-discovery (multicast) #28

Open joamag opened 6 years ago

joamag commented 6 years ago

Description

By using multicast UDP it would be possible to discover other services with the same INSTANCE values and start communicating with them for certain puposes.

Election system to determine the one that is considered the master.

For instance it should be possible to discover a configuration server that way, or for Ripe discover the proper composer instance in the current network and auto-configure it.

References

https://docs.mongodb.com/manual/core/replica-set-elections/