Hello

We're implementing  microservice system consisting of several services 
representing completely different domains.
Let's consider that we have following 

   - wallet service representing customer balance, supporting deposit, 
   withdraw and get balance commands
   - wallet client service that interacts with a wallet

Because of Docker based infrastructure we have to use ConstructR for Akka 
Cluster,so setup is not quite trivial.
Our intentions were

   - join wallet service instance into akka cluster
   - do not join wallet client service into cluster
   - expose each ShardRegion via ClusterClientReceptionist
   - from wallet client service access wallets in shards via ClusterClient
   
But after digging into akka docs, I've found a possibility to use 
ShardRegion in proxy only mode, so another architecture idea appeared


   - join wallet and wallet client into the same Akka Cluster
   - on wallet service nodes start ShardRegion in normal mode
   - on wallet client nodes start ShardRegion in proxy only mode
   - access wallets from wallet client using local ShardRegion

Dear community, could you provide pros / cons of both solutions ?
What is more AKKA way of achieving the goal.

Thanks in advance

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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