[akka-user] Domain Events, Aggregate Persistence Events and cross-aggregate consistency

2014-12-17 Thread Richard Rodseth
I should probably go back and read some of the threads about Akka persistence and CQRS/ES. The system I'm working on has actors (let's call them Monitors) that monitor event data and generate Alerts. Both Monitors and Alerts are entities with persistent state. In DDD terms, I think of them both as

Re: [akka-user] TypedActor as an ClusterSingleton

2014-12-17 Thread Marek Prochera
Hi Björn Well, next to my clean and safe world I need to create small playground for the framework customers, unfortunately as it is with frameworks client needs to have ability to deploy new code without reference to underneath infrastructure. This code will perform post processing jobs, and

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Greg Young
here is one of ours :) http://ha.geteventstore.com/showcase/ On Wed, Dec 17, 2014 at 7:45 PM, Roland Kuhn wrote: > When I was working with big clusters at CERN we had switchable power outlets > connected to the network, so I could do everything from Munich—apart from > inserting a boot CD (whi

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Will Sargent
You can also simulate network failure more directly with iptables and tc: https://github.com/tylertreat/Comcast Will Sargent Consultant, Professional Services Typesafe , the company behind Play Framework , Akka and Scala

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Roland Kuhn
When I was working with big clusters at CERN we had switchable power outlets connected to the network, so I could do everything from Munich—apart from inserting a boot CD (which is why I contributed to etherboot at the time). That came in handy many times. Last I checked you could rent hardware

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Greg Young
well except of course for azure's recent crash but it doesn't happen regularly enough to meaningful :) On Wed, Dec 17, 2014 at 7:15 PM, Greg Young wrote: > Provided is fine in the cloud. I have just yet to figure out how to do > power pull testing in the cloud :) > > On Wed, Dec 17, 2014 at 6:25

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Greg Young
Provided is fine in the cloud. I have just yet to figure out how to do power pull testing in the cloud :) On Wed, Dec 17, 2014 at 6:25 PM, Roland Kuhn wrote: > > 17 dec 2014 kl. 18:34 skrev Greg Young : > > Just to add to all the answers here I would normally do lab work on this > with a physical

[akka-user] Re: ActorSelection in cluster

2014-12-17 Thread Vaughn Vernon
Have you considered using Cluster Sharding? http://doc.akka.io/docs/akka/2.3.7/contrib/cluster-sharding.html Vaughn On Tuesday, December 16, 2014 9:24:50 AM UTC-7, Chris Campbell wrote: > > Hi- > > I am setting up a cluster and want to instantiate actors of the same type > with unique identiti

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Roland Kuhn
> 17 dec 2014 kl. 18:34 skrev Greg Young : > > Just to add to all the answers here I would normally do lab work on this with > a physical cluster. Of course, that’s preferable. It can be problematic to organize those facilities at home, though (says the one who failed to convince his wife of t

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Greg Young
Just to add to all the answers here I would normally do lab work on this with a physical cluster. Much of this can be set in linux > 2.6 http://www.linuxfoundation.org/collaborate/workgroups/networking/netem Cheers, Greg On Wednesday, December 17, 2014 2:17:22 PM UTC, rkuhn wrote: > > Packet

Re: [akka-user] [akka-http] Status of http-client in 1.0-M1

2014-12-17 Thread Łukasz Sowa
Roland, Thanks for answer! I need this by end of this year, so great to hear that fix is around the corner. Looking forward to it. Best, Łukasz W dniu środa, 17 grudnia 2014 14:48:31 UTC+1 użytkownik rkuhn napisał: > > The question is when exactly you need to show that showcase: we should > ha

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Roland Kuhn
Packet loss is currently not publicly exposed, see here for an example that hacks around the restriction. The reason is that this feature has not been hardened for gener

Re: [akka-user] Streams, Flows, and integrating an external flow

2014-12-17 Thread Xavier Bucchiotty
Thanks Will for the advice. Indeed turning the logs show the ciphered traffic and negotiation is ok . But that does not show why the stream stay opened once the client has finished to transfer its data. Le mardi 16 décembre 2014 23:57:31 UTC+1, Will Sargent a écrit : > > You can turn on JSSE de

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Eax Melanhovich
Victor, Roland, thanks for your quick reply. Ok, it seems that multi node tests in Akka are able to emulate netsplits and single node death. Is it possible to test latency and packet loss cases too? On Wed, 17 Dec 2014 11:23:18 +0100 Roland Kuhn wrote: > Hi Eax, > > you can use our test suite

Re: [akka-user] [akka-http] Status of http-client in 1.0-M1

2014-12-17 Thread Roland Kuhn
The question is when exactly you need to show that showcase: we should have a fix soon (as in “hours, not days”; will probably be released in a few days). > 17 dec 2014 kl. 14:29 skrev Łukasz Sowa : > > Yup, that's the same bug. What a pity! Any ideas how to fix/hack around that? > I'm building

[akka-user] Re: [akka-http] Status of http-client in 1.0-M1

2014-12-17 Thread Łukasz Sowa
Yup, that's the same bug. What a pity! Any ideas how to fix/hack around that? I'm building an akka-http "showcase" project thus don't want to fallback to other client libs like play-ws. Best, Łukasz W dniu poniedziałek, 15 grudnia 2014 19:47:25 UTC+1 użytkownik Joe Edwards napisał: > > Have a

Re: [akka-user] Streams, Flows, and integrating an external flow

2014-12-17 Thread Xavier Bucchiotty
Sure thanks for your help, I'm filling up a ticket with it. I firstly thought that, on server side, there could be a problem because we flatten the inbound session data. I try that .map(_.data).map(Source(_)).take(1).flatten But that does not seem to help. Le mardi 16 décembre 2014 23:35:04

[akka-user] ANNOUNCE: Akka 2.3.8 Maintenance Release

2014-12-17 Thread Roland Kuhn
Dear hAkkers, We—the Akka committers—are pleased to be able to announce the availability of Akka 2.3.8. This is the eighth maintenance release of the 2.3 branch. This release contains a few improvements and one new feature: fix a bug in Clustering that could lead to Terminated being fired for re

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread Roland Kuhn
Hi Eax, you can use our test suite for inspiration, for example https://github.com/akka/akka/blob/v2.3.7/akka-cluster/src/multi-jvm/scala/akka/cluster/SurviveNetworkInstabilitySpec.scala

Re: [akka-user] huge number of unnamed user space actors with '$' in name

2014-12-17 Thread Bharadwaj Narasimha
Thanks Ivan. Will do that and get back to you if I need help. On Wednesday, 17 December 2014 10:13:23 UTC+5:30, Ivan Topolnjak wrote: > > Bharadwaj, > > Would it be possible for you to take a heap dump of your app after > starting it and analyse it to see the actual instance types of those > act

Re: [akka-user] How to test high packet loss, netsplits, etc?

2014-12-17 Thread √iktor Ҡlang
Hi Eax, We use Multi Node Testing for things like this: http://doc.akka.io/docs/akka/2.3.7/dev/multi-node-testing.html On Wed, Dec 17, 2014 at 8:27 AM, Eax Melanhovich wrote: > Hello. > > I wanted to test that my cluster work properly under following > conditions: > > * Netsplits > * High laten