sa-mw-dach / opendj

Apply Open Source principles to the Dance Floor! MOVED TO https://github.com/opendj/opendj
https://github.com/opendj/opendj
GNU General Public License v3.0
6 stars 9 forks source link

Need to decide on Service Discovery #54

Closed DanielFroehlich closed 5 years ago

DanielFroehlich commented 5 years ago

How does a frontend service find out which backend services exist and which endpoints they have?

Example: How does the EventService find out, which musicproviders are avail? Could be backend-spotify, backend-soundclound, backend-itunes, or non of these.

Ideas:

wrichter commented 5 years ago

Option F: Pub/Sub - Service sends a query message to a Topic that backends listen to - they respond within a time window to be known. Similar to Option D) but less Risk of stale data in dev phase.

DanielFroehlich commented 5 years ago

Let's got with simple Option A for the basic stuff., and maybe later added a more sophisticated stuff like Option D