Service Discovery in a few word it's asking a centralized registry what what else is running and where (how I can reach it). The generic flow looks like:
1) Introduction yourself to registry: Hello I am a Bakery service with ip address x.x.x.x and port zzzz
2) Registry will create a record and perform a periodic check to ensure that this service is up and running
3) Some one else can ask I need to reach to the Bakery service and get reply with the address/ list of addresses from records
Consul uses DNS as mechanism to refer to specific service location but it has own tradeoffs like every system.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Service Discovery in a few word it's asking a centralized registry what what else is running and where (how I can reach it). The generic flow looks like:
1) Introduction yourself to registry: Hello I am a Bakery service with ip address x.x.x.x and port zzzz
2) Registry will create a record and perform a periodic check to ensure that this service is up and running
3) Some one else can ask I need to reach to the Bakery service and get reply with the address/ list of addresses from records
Consul uses DNS as mechanism to refer to specific service location but it has own tradeoffs like every system.