[akka-cluster] Large cluster or many clusters?

58 views
Skip to first unread message

Juan José Vázquez Delgado

unread,
Oct 3, 2015, 1:08:30 PM10/3/15
to Akka User List
This is a question for any of you that have some experience with Akka clusters in production. Is it better several domain-centric Akka clusters or a single one where perhaps domain boundaries are settled by means of different roles?.

In my case, I have a CQRS/ES architecture where every bounded context in terms of DDD is modeled as an Akka cluster. So far, every context is an Akka cluster in production. Now, I'm wondering if it would be better to have a bigger cluster with all my domains and use roles, so to speak, in order to deal with logical relationships.

Thanks in advance.

Juanjo.

Konrad Malawski

unread,
Oct 14, 2015, 4:07:59 AM10/14/15
to Akka User List
Hi Juan,
In general it's best to think of a Cluster as something coherent - of if you want adding Roles to separate things a bit between nodes, 
but the cluster still serves one purpose – for example "a service" is backed by a cluster, which is multiple nodes but "one service" :)

--
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Cheers,
Konrad 'ktoso' Malawski

Juan José Vázquez Delgado

unread,
Oct 14, 2015, 4:21:48 AM10/14/15
to akka...@googlegroups.com
I absolutely agree. Basically it would be a cluster per microservice, even if the microservice is a domain service one, and let roles play a more fine-grained responsibility.  It makes sense.

Thanks!

Juanjo.

You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/LrJTxqDzhwY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.

To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
--

Juan José Vázquez Delgado

CTO

Tecsisa

C/Quintanavides, 19

Parque Vía Norte

Edificio 4, Planta 3, Oficina H

28050 Madrid

T: +34 91 182 04 70

F: +34 91 447 05 11

E: juanjo.vazq...@tecsisa.com

W: www.tecsisa.com

Reply all
Reply to author
Forward
0 new messages