Re: [akka-user] Akka Persistence and avoiding var in favor of context.become

2017-09-14 Thread Konrad “ktoso” Malawski
Become “should" work AFAIR, though I’d recommend using Akka 2.5 (it’s binary compatible with 2.4, so you can just upgrade it). I could not find if we fixed anything about become in persistent Actors, there were fixes but a very long time ago in 2.3.. I would recommend avoiding become with Persiste

[akka-user] Re: Akka-Http Entity Stream Truncation

2017-09-14 Thread Dusan Stanojevic
Hi, I saw this exception happen in production with Play 2.6.x but could not replicate it. After reading your post I turned throttling on, made a request and killed the tab before it was done sending data and got the exception on localhost. Thank you, Dusan On Monday, July 10, 2017 at 9:08:29

[akka-user] Akka Persistence and avoiding var in favor of context.become

2017-09-14 Thread Curt Siffert
Learning akka persistence, I was initially reluctant to use vars to capture state since we generally try to avoid vars when possible. But when experimenting with context.become(receiveBlock(stateParam)) inside a receiveRecover implementation, it appeared to interfere with its ability to stash

Re: [akka-user] Removing programmatically and dynamically Node from Cluster

2017-09-14 Thread Sebastian Oliveri
Thanks, that makes sense. I have to read more about the gossip protocol :) I think I will use manual intervention by setting up an AWS service to monitor nodes. I could implement a simple SPR but there would be many cases I don´t know how to solve at the moment: 1) If I run 2 nodes with dynami

Re: [akka-user] Http 2.0 request using SSL cert files in akka http

2017-09-14 Thread Akka Team
The HTTP/2 support in Akka HTTP is so far only server side, there is no client implementation. So you would have to use some other HTTP client to achieve that for now. -- Johan Akka Team On Wed, Sep 6, 2017 at 2:50 PM, wrote: > Hi Friends, > > I have been using akka http for a year and found it

Re: [akka-user] Re: how can write and read async with socket (councurent) ?

2017-09-14 Thread Akka Team
The Akka IO API is actor based and a bit more low level, requiring more boilerplate, the streams one is a higher level API which fits some problems (and mindsets) very well. Performance will likely not differ much so try both and use the one you find easiest to understand and achieve what you want

Re: [akka-user] Removing programmatically and dynamically Node from Cluster

2017-09-14 Thread Justin du coeur
On Wed, Sep 13, 2017 at 5:55 PM, Sebastian Oliveri wrote: > Am I in the right direction? I was thinking more in a server that crashes > more than a vertical network partition affecting many nodes... > The problem is, how do you tell the difference? Specifically, when you get a network partition

[akka-user] Recommand JAVA OPTS for Akka application

2017-09-14 Thread Kilic Ali-Firat
Hi Akka Team, I have an Akka app using Akka Streams, Akka Cluster and Akka Actors. I cannot found in the documentation some recommandations on the JAVA OPTS to set. Do you have any advices on which java opts (other than -DXms and -DXmm) to set or not ? Thanking your in advance, Alifirat Kil

[akka-user] Node unexpectedly quarantined after `quarantine-after-silence`

2017-09-14 Thread Yaroslav Klymko
Hi guys, Recently we had an issue in live with one of three our nodes, so eventually we restarted it. Then after 2 days running it was unexpectedly quarantined, without any other strange misbehaviours. Some facts to rebuild history: 1. We have seed-nodes configured in exact order: [node1, node

[akka-user] Re: akka cluster http management

2017-09-14 Thread Kiran Sarma
Thank u it works -- >> 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

[akka-user] Cluster on Different JVM's

2017-09-14 Thread Kiran Sarma
Hello, i am trying to do a small program using akka cluster . i want to execute cluster program on two system with displaying simple message . i have one cluster(like c1) associate with one actorsystem( say a1) and i have another cluster( say c2) with actor system( say a2) in another system . i