[akka-user] Re: Is there any need to remove message received from message queue?

2014-12-30 Thread Krishna Kadam
Thanks Soumya, for your kind suggestions. Thanks Regards Krishna Kadam -- 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

[akka-user] Re: Design of Persistent Actor for CQRS

2014-12-30 Thread Andrew Easter
Firstly, your proposal is to use event sourcing and CQRS. Using akka-persistence to implement this approach necessitates you being comfortable with eventual consistency - i.e. there's no guarantee that your views (the Q in CQRS) will be up to date with the domain model (stored as events with

[akka-user] [cluster] minimum number of members and cluster-singleton

2014-12-30 Thread Adam Warski
Hello, I was wondering how to avoid split-brain issues when using a cluster singleton and automatic downing. Wouldn't it make sense to add a min-nr-of-members setting to the singleton? That is, the singleton wouldn't start unless there's a given number of members in the cluster online. That

[akka-user] Re: Design of Persistent Actor for CQRS

2014-12-30 Thread Soumya Simanta
Andrew, Many thanks for your time and detailed response. This is very helpful as it gives me the direction I want to proceed. I'm aware that with CQRS I get eventual consistency. The scenario and requirements are artificial to provide a working use case. My main goal is see how far can I

[akka-user] Design of Persistent Actor for CQRS

2014-12-30 Thread Greg Young
What exactly is the issue with a single actor controlling an inventory count? Have you benchmarked any of this or are just getting prematurely wprried? A quick benchmark here was over 500k/second. With persistence naively was still 100k. You must have a huge number of users to get 100k/s items

[akka-user] Re: Design of Persistent Actor for CQRS

2014-12-30 Thread Soumya Simanta
Greg, Thank you for responding. I wanted some validation about my design and the selection of my components for the implementation. Based on Andrew's and your response I assume that my basic domain model is correct and I'm moving in the correct direction. On Tuesday, December 30, 2014

[akka-user] BalancingPool with custom mailbox

2014-12-30 Thread Pradeep Gollakota
Hi All, I’m trying to create an ActorSystem where a set of actors have a shared mailbox that’s prioritized. I’ve tested my mailbox without using the BalancingPool router, and the messages are correctly prioritized. However, when I try to create the actors using BalancingPool, the messages

[akka-user] Possibility of deploying actors from single ActorSytem to multiple nodes

2014-12-30 Thread Krishna Kadam
Hi all, https://lh5.googleusercontent.com/-vLcq9fYc-T4/VKOGS-l6GyI/AJc/1IUWf9qTrC4/s1600/kks.PNG I am a student, trying to horizontally scale a tool. I just want to know that, Can we have a ActorSystem defined on a node and some of the actors from the same actor system deployed