[akka-user] [akka-http] Choosing SSL keys

2017-10-17 Thread Slowaner
I have java key store with several private keys. How can I make akka-http use exact key from this store? Akka-http uses first key in the KeyManager. How can I configure server to select key by alias for example? (or by domain name) Can I pass any function to Http().bind that selects needed key f

Re: [akka-user] Spray->Akka-Http Migration - seeing high 99th percentile latencies post-migration

2017-10-17 Thread Konrad “ktoso” Malawski
Step 1 – don’t panic ;-) Step 2 – as I already asked for, please share actual details of the benchmarks. It is not good to discuss benchmarks without any insight into what / how exactly you’re measuring. -- Cheers, Konrad 'ktoso ' Malawski Akka @ Lightbend

Re: [akka-user] Re: Spray->Akka-Http Migration - seeing high 99th percentile latencies post-migration

2017-10-17 Thread Gary Malouf
Thanks Konrad - given the huge cost changes we are seeing - is there any tuning you would recommend in terms of dispatchers, etc for smoothing this or should I consider a different server even given the streaming infrastructure. On Tuesday, October 17, 2017 at 11:26:13 AM UTC-4, Konrad Malawski

Re: [akka-user] Re: Spray->Akka-Http Migration - seeing high 99th percentile latencies post-migration

2017-10-17 Thread Konrad “ktoso” Malawski
Short lived connections are slightly more costly in Akka-HTTP than in Spray, due to the streaming infrastructure. -- Cheers, Konrad 'ktoso ' Malawski Akka @ Lightbend On October 17, 2017 at 9:48:20, Gary Malouf (malouf.g...@gmail.com) wrot

Re: [akka-user] Re: Spray->Akka-Http Migration - seeing high 99th percentile latencies post-migration

2017-10-17 Thread Gary Malouf
Hi Konrad, Understand your point - not really possible to share code on a closed-source project. I'm more asking if akka-http does not handle short-lived connections very well yet as opposed to how spray handled them. I will be profiling in the mean-time trying to get to the bottom of the is

Re: [akka-user] Dynamically add routees to or remove routees from a custom Group Router using AddRoutee and RemoveRoutee

2017-10-17 Thread Patrik Nordwall
Wouldn’t it be easier to implement that as an ordinary Actor, instead of a router? /Patrik tis 17 okt. 2017 kl. 08:16 skrev 김태현 : > Hi, > > I created a custom Group Router (see below), which routes messages based > on the session established on any one of the Routees with fall-back to > Round-Rob

[akka-user] Re: Understanding tuning akka dispatchers (by Jami allan)

2017-10-17 Thread Rob Crawford
With the Java API, something like this: public class ComputeIntensiveChild extends AbstactActor { private final ActorRef realParent; public static Props create(ActorRef realParent) { return Props.create(ComputeIntensiveChild.class, realParent); } public ComputeIntensiveChild(ActorRef realPar

[akka-user] Dynamically add routees to or remove routees from a custom Group Router using AddRoutee and RemoveRoutee

2017-10-17 Thread 김태현
Hi, I created a custom Group Router (see below), which routes messages based on the session established on any one of the Routees with fall-back to Round-Robin if there is no session matched. I am going to allow creating and removing any number of remote Routees on demand using AddRoutee and Re

[akka-user] Odd behaviour of Broadcast hub

2017-10-17 Thread Wiktor Tychulski
Hello all, Can any one help with this? Am I doing something wrong here or this is as issue in akka library and I should report that? Any help will be really appreciated. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/ak

[akka-user] Re: Implements CRDTs conters more than 100 000

2017-10-17 Thread Hsnamed
Thanks for all. In general that for naive reactor risk system and i change my point of view to that problem and where are some thoughts: - use the FSM : -- leaf actors contains several counters -- their parents actors contains total counter for child actor counters - add failover nodes to clust