Here's my assumption based on Stackoverflow reading.
You have a multiple system components:
- Database
- Authentication
- Web
Each system component runs on a separate host as described in the microservice pattern. In other to glue these host together you need to:
- Run an Actor system that functions as one of the seeds nodes on each host
- Describe the role for each host so that you can direct messages to the right component
Here are my questions:
- Can you not run an Actor system on each host and still link to the cluster?
- How do you direct messages based on role? Say I want to direct a database message to the database component from the web component?