Reputation: 1
I've recently been working on a side-project where I use the microservice architecture. One of the main problems with this architecture is that multiple core microservices can be launched any time and they need to be available as soon as they're runnning.
So I found a nice quick article on this website http://microservices.io/patterns/self-registration.html but this only brings up the question, how do microservices register themselves on the service registry?
TL;DR
I guess the underlying question really what is the proper way of implementing service registration?
Thanks !
Upvotes: 0
Views: 506
Reputation: 33063
That would depend on what system you were using for service registration. For service self-registration I would suggest Consul might be a good option. You would do the following:
Upvotes: 1