[akka-user] Critical:Multiple Views For One PersistentActor

2014-10-06 Thread Prakhyat Mallikarjun
Team, Will akka persistence support multiple views for one PersistentActor? If yes, is it recommended to use multiple views for one PersistentActor? Are there any drawbacks of multiple views for one persistent actor?Also can any future enhancement in akka persistence impact this behavior?

Re: [akka-user] DequeBasedMailbox required in UntypedPersistentActor

2014-10-06 Thread Michael Pisula
Hi Endre, Good idea, I just tried it with a simple Actor with Stash. When using system.actorOf it works fine, however for that project we create our actors using an ActorCreator. As soon as I use that for the Actor with Stash I get the error. I guess that the Creator does not play nice with

Re: [akka-user] Re: Best book(s) on distributed system ?

2014-10-06 Thread Joseph Pachod
Hi @Sean : Good to know :) Pondering whether to jump on the MEAP train to have an opportunity to comment or to wait for the release so I don't have to read again updated chapters for fear of losing good changes... On a more akka topic, if ever there is a wiki somewhere where this list could be

[akka-user] Separate ports for Cluster Mgmt messages and Application Messages

2014-10-06 Thread Muthukumaran Kothandaraman
Hi, Is it possible to isolate the cluster management messages (such as Member messages and other system-level messages) could be configured to use a separate port for application messages (messages defined by user-apps) through configuration ? In-banding and out-of-band system messaging

[akka-user] Re: Running Akka cluster in docker or decouple node identification from host and

2014-10-06 Thread Alessandro Vermeulen
I'm looking forward to your post. Actually, what you've described is pretty much what we decided was needed as wel. We also decided that etcd + coreos is not mature enough for us to run in production yet, especially because we are not confident we are privy of all the quirks. - Alessandro On

Re: [akka-user] Akka-http

2014-10-06 Thread Stein Kåre Skytteren
Sorry for activating this old thread. I also had a little problem regarding getting good parameters. This is what I did: Adding this code: case class Param(name: String){ def unapply(query: Uri.Query): Option[(String)] = { query.get(name) } } type Segment = String object

Re: [akka-user] Re: Best book(s) on distributed system ?

2014-10-06 Thread Eric Pederson
Hi Joseph - That's a good idea about the wiki. I was thinking of doing a blog post. There are a couple other books that are related to your no downtime and seamless upgrades requirements that I would recommend: Continuous Delivery http://www.amazon.com/dp/0321601912?tag=contindelive-20 Release

[akka-user] Re: Running Akka cluster in docker or decouple node identification from host and

2014-10-06 Thread ahjohannessen
Alessandro, I solved that issue by using weave - https://github.com/zettio/weave - A quick experiment by using a akka cluster demo made by Nepomuk Seiler - https://github.com/muuki88/activator-akka-docker - I got a cluster running with docker containers: sudo weave launch 10.0.0.1/16 sudo

[akka-user] Before and after receive

2014-10-06 Thread kasper
Hi I have been looking at the implementation of akka persistence and would like to implement some of our functionality in a similar way (batching some messages for our storage created during the receive method and send them in one batch after receive, and executing a handler when storage has

[akka-user] keep processors in shard region alive

2014-10-06 Thread Liang Gong
We have a akka cluster with 5 nodes and a million processors deployed in every shard region. Our test scenario like the following, 1. give the first round commands to the region (so these processors are created) 2. give the second round commands to update the state of the processors. There is

[akka-user] Re: keep processors in shard region alive

2014-10-06 Thread Liang Gong
ignore this post please . found the solution. -- 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] BatchingExecutor reentrancy

2014-10-06 Thread Duarte Nunes
Hi, I'm unit-testing an Akka application and I'm triggering an assert upon a reentrant call to BatchingExecutor, which seems to me to be caused by the usage of the CallingThreadDispatcher. I'm still working on isolating the problem, but this does seem like a scenario we easily get into when

[akka-user] [akka-stream] Some problems with ThunkSource

2014-10-06 Thread Boris Lopukhov
Hello, I wrote this code: import akka.actor.ActorSystem import akka.stream.scaladsl2.BlackholeSink import akka.stream.scaladsl2.FlowFrom import akka.stream.scaladsl2.FlowMaterializer import akka.stream.scaladsl2.ThunkSource object Main extends App { implicit val system = ActorSystem()

Re: [akka-user] DequeBasedMailbox required in UntypedPersistentActor

2014-10-06 Thread Patrik Nordwall
Hi Michael, Might be related to this: https://github.com/akka/akka/blob/v2.3.6/akka-actor/src/main/scala/akka/actor/Props.scala#L75 or this: https://github.com/akka/akka/blob/v2.3.6/akka-actor/src/main/scala/akka/actor/Props.scala#L104 /Patrik On Mon, Oct 6, 2014 at 8:48 AM, Michael Pisula

Re: [akka-user] [akka-stream] Some problems with ThunkSource

2014-10-06 Thread Patrik Nordwall
That is a know issue https://github.com/akka/akka/issues/15892 in scaladsl2 in version 0.7 and 0.8. It is fixed in upcoming 0.9. You can probably work around it by using an Iterator instead. /Patrik On Mon, Oct 6, 2014 at 5:51 PM, Boris Lopukhov 89bo...@gmail.com wrote: Hello, I wrote this

Re: [akka-user] Best book(s) on distributed system ?

2014-10-06 Thread Roland Kuhn
Would it make sense to add the books to the Akka pages? We currently only have the “Books” section of the docs, but it might make sense to include it in the site proper; perhaps as an FAQ? I’d recommend trying it out, going wild, and submitting a PR to https://github.com/akka/akka.github.com/

Re: [akka-user] Best book(s) on distributed system ?

2014-10-06 Thread Vaughn Vernon
Yes, good idea, Roland. I also want to make the list aware that my new book Reactive Enterprise with Actor Model is now available as Rough Cuts on Safari Books Online: https://www.safaribooksonline.com/library/view/reactive-enterprise-with/9780133846904/ If you don't already have an

Re: [akka-user] Akka Persistence on the Query Side: The Conclusion

2014-10-06 Thread Roland Kuhn
Hi Vaughn, from our side nothing has happened yet: my conclusion is that this thread contains all the information we need when we start working on this. The reason why we are waiting is that this work will depend heavily upon Akka Streams and therefore we are finishing those first, which