Re: [akka-user] Re: Cassandra Time Stamp Problem and How Akka can help?

2017-03-17 Thread Justin du coeur
On Fri, Mar 17, 2017 at 7:29 AM, kant kodali wrote: > Do I need to specify how many nodes or shards I want to distribute to ? > Not by number, but IIRC you can assign particular roles to nodes, and have those roles determine what sorts of things get distributed to those

Re: [akka-user] Re: Cassandra Time Stamp Problem and How Akka can help?

2017-03-17 Thread kant kodali
Do I need to specify how many nodes or shards I want to distribute to ? Node can go up and down right.. Can the Akka cluster discover how many nodes are available at any given time? Also, Why should I manually down the node? I know that there is a failure detector so if the Akka cluster

Re: [akka-user] Re: Cassandra Time Stamp Problem and How Akka can help?

2017-03-16 Thread Justin du coeur
Look at it this way -- typically, you're generating events about some *thing*, which corresponds to the key you're using in Cassandra. That's the "entity" I'm talking about, and typically it would have a single Actor in Akka, to which all events are being sent. That Actor mediates all the

[akka-user] Re: Cassandra Time Stamp Problem and How Akka can help?

2017-03-15 Thread kant kodali
What is each Entity if I may ask? By Entity you mean Actor? If I shard messages across group of actors or actor systems through some user specified function and say an actor or actor system(a node) dies then Does Akka redirect that shard to other actors (more like rebalancing) ? Any simple