[akka-user] New to Akka, newbie to high scale server programming

2016-10-31 Thread Alireza Mohamadi
Hi. As I mentioned, consider me as a newbie who is only good at coding. I want to write a project which I believe will have many simultaneous HTTP requests and many simultaneous DB queries being executed. I decided to choose Akka vs Quasar at last, and want to ask about how to fit my scenario in

[akka-user] http proxy support

2016-10-31 Thread subopt1
I'm interested in proxying http requests with akka-http. Based on what I've read so far I need to enable the configuration and then it should work with Http().singleRequest however it's not connecting through the proxy. I have the following config in application.conf akka.http {

[akka-user] [akka-persistence] readjournal query by multiple tags

2016-10-31 Thread jsoeters
Is there a feature (planned?) to support querying the read journal by multiple tags. Typically projections in an event sourced application only update from a very small subset of the events. Say I have a UserProjection that creates/updates a UserReadModel from a UserRegistered event and all

[akka-user] How to reference an existing actor?

2016-10-31 Thread Harinath Mallepally
Hi, I am using this deprecated method for referencing existing actor, is this the right approach? given that I have created a actor with a unique name, I want to reference is so that I can use it. ActorRef actor = actorSystem.actorFor(actorSystem.child() I always get not null value even if

Re: [akka-user] Can a cluster have multiple singleton actors?

2016-10-31 Thread Justin Robbins
Great. Then I'm confused what the config would look like. Would something like the following work? cluster { singleton { singleton-name = "singleton1" } singleton-proxy { singleton-name = *"*singleton1" } } cluster { singleton { singleton-name = "singleton2" }

[akka-user] What are the Best Practices for building Rest services with Akka Http?

2016-10-31 Thread Sriram P
Could anyone suggest/share the best practices/guidelines for building the REST services(micro) using akka http, Json, Slick, Logging, authentication, authorization, dependency injection etc. Please share if any good templates available for building the production ready code, where I just need

Re: [akka-user] Actor systems in the cluster are quarantined too often

2016-10-31 Thread Patrik Nordwall
On Sat, Oct 29, 2016 at 5:57 PM, Eugene Dzhurinsky wrote: > Patrick, thanks for the quick reply! > > In fact I do see it happening quite often, I have akka *INFO* logging > enabled, please take a look at this one: > > http://depnongadsla.s3.amazonaws.com/wrapper-20161029.log

[akka-user] ANNOUNCE: Akka 2.3.16 released

2016-10-31 Thread Johan Andrén
*Dear hAkkers,* We—the Akka committers—are pleased to be able to announce the availability of Akka 2.3.16. This is the 16th maintenance release of the 2.3 branch. This release contains three bugfixes: - Wraparound issue with the scheduler causing it to stop function correctly 20424

Re: [akka-user] Can a cluster have multiple singleton actors?

2016-10-31 Thread Patrik Nordwall
You can create many different ClusterSingletonManager actors with different settings, each one managing one singleton. Regards, Patrik On Mon, Oct 31, 2016 at 4:18 PM, Justin Robbins wrote: > Hi, I posted this question >

[akka-user] Can a cluster have multiple singleton actors?

2016-10-31 Thread Justin Robbins
Hi, I posted this question over on Stack Overflow but I figured I'd also post it here since Akka.com lists this mailing list as a place for community support. Can there be multiple different actors

Re: [akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Viktor Klang
You're most welcome. On Mon, Oct 31, 2016 at 2:49 PM, Gary Malouf wrote: > Ah - missed that in the API - thanks for the pointer! > > On Mon, Oct 31, 2016 at 9:47 AM, Viktor Klang > wrote: > >> intersperse? >> >> On Mon, Oct 31, 2016 at 2:40 PM,

Re: [akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Gary Malouf
Ah - missed that in the API - thanks for the pointer! On Mon, Oct 31, 2016 at 9:47 AM, Viktor Klang wrote: > intersperse? > > On Mon, Oct 31, 2016 at 2:40 PM, Gary Malouf > wrote: > >> I am attempting to use Akka streams to read a large amount of

Re: [akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Viktor Klang
intersperse? On Mon, Oct 31, 2016 at 2:40 PM, Gary Malouf wrote: > I am attempting to use Akka streams to read a large amount of data from a > database (in chunks) and output to a CSV on S3. While it may seem trivial, > I'm trying to find the best way to identify the

[akka-user] Akka Streams - output CSV - how to know last line so can avoid appending new line character

2016-10-31 Thread Gary Malouf
I am attempting to use Akka streams to read a large amount of data from a database (in chunks) and output to a CSV on S3. While it may seem trivial, I'm trying to find the best way to identify the final line of the to be created file and avoid putting a new line character at the end of it. Is