Cluster Client is for communication between two different clusters.

You can put the frontend nodes in one cluster and backend nodes in one
cluster and use Cluster Client from frontend to backend. However, it's
easier and the tooling is richer if you use one cluster with different
backend/frontend node roles
<http://doc.akka.io/docs/akka/2.4.0/scala/cluster-usage.html#Node_Roles>.
Then you would use Cluster Sharding Proxy on the frontend nodes.

Cheers,
Patrik

On Thu, Nov 12, 2015 at 8:13 PM, Artyom Bolshakov <tweek...@gmail.com>
wrote:

> When should I use Cluster Sharding Proxy and when Cluster Client?
>
> I have a backend with sharded actors and HTTP frontend which provide
> interface for them.
> The operations mostly fire-and-forget semantics, so HTTP frontend does not
> return any data to user, but just proxy notifications to sharded actors.
> What is the best options to select for frontend to backend communication?
>
> --
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to