you could perform service discovery many different ways. at a really high level here are a few i can think of:

1. be totally static.  place each of your microservices behind an ELB,
   use AutoScaling (assuming AWS here).
2. use Zookeeper or Etcd for coordination.  Curator has some recipes to
   do this for Zookeeper:
   http://curator.apache.org/curator-x-discovery/index.html.
3. use akka cluster and specify node roles to differentiate different
   microservices:
   http://doc.akka.io/docs/akka/2.4.1/scala/cluster-usage.html#Node_Roles.
   this requires you to write more code, akka just provides the
   framework here.

these kinds of architectural questions are impossible to answer without knowing your *business requirements* and the architecture you already have in place. you will get a better response if you do some more research, evaluate the options you find, then come back and ask very specific, targeted questions. or you can talk to the fine people at Typesafe: http://www.typesafe.com/services/consulting (i have no affiliation with Typesafe, i just think they are smart people :)

-Michael

On 01/12/16 22:55, Igor Katz wrote:
Hi,

We need a service registry where all our components will turn to for discovering the actual URLs which they can use to communicate to other parts of our system. The service has to provide a load balancing and fault tolerance. It has to be distributed to prevent a production outage. In _CAP_ <http://codahale.com/you-cant-sacrifice-partition-tolerance/>terms, it has to be AP.

Igor

On Wednesday, January 13, 2016 at 1:45:00 AM UTC+2, Michael Frank wrote:

    On 01/12/16 07:28, Igor Katz wrote:

    Hi,

    We are going to use Akka-HTTP as IPC in our new distributed
    system that is based on microservice architecture. How to perform
    Service discovery for akka-stream/akka-http in distributed
    system? What is the best way to implement this?

    what are your requirements?

    -Michael

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

--
     Read the docs: http://akka.io/docs/
     Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
     Search the archives: https://groups.google.com/group/akka-user
--- You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to