Re: [akka-user] Configuring Akka to run as a job server using Play framework

2015-05-23 Thread Mark Joslin
Hi Michael, thanks for the tips. I believe that would be a bit overkill for this project though it would seem fun. I've decided to take a pretty minimalistic approach: - Start two seed nodes on AWS - Have all the API servers connect to the cluster via these seed nodes - Have all API

Re: [akka-user] Akka Receive as parameter

2015-05-23 Thread Roland Kuhn
Using something like Spores you could ascertain that your partial function does indeed not close over its surrounding Actor when creating anonymous Actors inline, but Spores are still an experiment. An equally safe but not as elegant solution is to declare the partial function in the Actor’s

[akka-user] Re: Akka Streams Merge variance

2015-05-23 Thread Oliver Winks
Thanks Johannes, didn't realize the inlets have different variance to the merge. -- 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

[akka-user] Migrating from wandoulabs websockets to stock akka-io

2015-05-23 Thread Sam Halliday
Hi all, I'm very excited that akka-io now has WebSocket support. In ENSIME, we're planning on using this wrapper over wandoulab's websockets https://github.com/smootoo/simple-spray-websockets to easily create a REST/WebSockets endpoint with JSON marshalling for a sealed family, with

[akka-user] [akka-streams] FlexiMerge/FlexiRoute parameters

2015-05-23 Thread Adam Warski
Hello, I've been writing some simple code using FlexiMerge/FlexiRoute, and I'm wondering why both have a single required OperationAttributes parameter? Maybe there should be a * at the end to allow 0-* such parameters? For lack of a better value, I'm currently using OperationAttributes.name,

Re: [akka-user] Implementing a bounded mailbox using lmax disruptor

2015-05-23 Thread Guido Medina
Hi Igor, I have modified your initial implementation because on my tests it was blocking the Akka system at shutdown so I simplified it for SingleConsumerOnlyBoundedMailbox, look at the Akka git hub ticket and at my forked branch: https://github.com/akka/akka/issues/17558 Best regards and

[akka-user] question on getting mailbox confirmation

2015-05-23 Thread Shawn Garner
I was talking with a coworker and he has some custom behavior he can't understand how to do anything useful without. He want's an tell message (a') sent from A - C to not allow actor A to continue until after there is confirmation that A's message is in C's mailbox. This way if a sends (a'') to

[akka-user] Re: Akka-Streams (RC2) Read lines from file into a string, help?!?

2015-05-23 Thread David Hooker
Ok, sorry for the noise. Guess I've been an architect too long... I passed in /n instead of \n for the delimiter. On Thursday, 21 May 2015 17:04:39 UTC-5, David Hooker wrote: Hi all- Seems like it should be simple, so I'm just missing something obvious. The various pages around the

[akka-user] Re: Migrating from wandoulabs websockets to stock akka-io

2015-05-23 Thread Arnaud Gourlay
Hi Sam, I am also really interested in migrating from Wandoulabs to the new Akka WS implementation. So far this is the best example I could find https://github.com/jrudolph/akka-http-scala-js-websocket-chat Hope this helps, Arnaud On Saturday, May 23, 2015 at 12:38:22 PM UTC+2, Sam Halliday