Re: [akka-user] Re: About calling Remote Actor in a process

2014-12-02 Thread Konrad Malawski
Not directly. You should send messages to the remote system instead, it's what Akka is about :-) -- Konrad 'ktoso' Malawski (sent from my mobile) On 3 Dec 2014 05:42, "Krishna Kadam" wrote: > By the way, thanks for the reply. > > > -- > >> Read the docs: http://akka.io/docs/ >

Re: [akka-user] akka - zeromq - cannot run even a simple toy program.

2014-12-02 Thread ankit master
Thank you again for you reply Victor. I referred the tests you pointed me at and I also consulted the Akka docs but none seem to help me in troubleshooting my issue. I even tried downloading some examples from github (apparently these examples are working examples) when I run these examples I land

[akka-user] Re: About calling Remote Actor in a process

2014-12-02 Thread Krishna Kadam
By the way, thanks for the reply. -- >> 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 messa

[akka-user] Re: About calling Remote Actor in a process

2014-12-02 Thread Krishna Kadam
Can I use the Context or Actor System defined on remote process? -- >> 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-use

[akka-user] Re: Akka Scheduler for Batch Insert (Slick)

2014-12-02 Thread 何品
yes,I am doing what just as you said. I am stash what I received and flush it every 10 seconds 在 2014年12月3日星期三UTC+8上午6时07分48秒,Raymond Lau写道: > > Let's assume that I'm running a social network where the amount of > peoples' likes coming in at a given time is very high (ex. a thousand likes > p

[akka-user] Re: Akka Scheduler for Batch Insert (Slick)

2014-12-02 Thread 何品
BTW ,I think you could cache the insertInvoker 在 2014年12月3日星期三UTC+8上午6时07分48秒,Raymond Lau写道: > > Let's assume that I'm running a social network where the amount of > peoples' likes coming in at a given time is very high (ex. a thousand likes > per second throughout the whole day) and that I'm ru

Re: [akka-user] Maven Testkit Integration

2014-12-02 Thread David
Thank you ktoso. I am coming from a pure Java background where my group is comfortable with a set of junit tests that can get run in our Continuous Integration Build. In our first Akka/Scala project, we are looking for something in the Scala/Akka world that can where our CI can automatically ru

Re: [akka-user] Maven Testkit Integration

2014-12-02 Thread Konrad Malawski
Hello David, I'm not sure what you mean since Akka's TestKit is just an utility class which you can use to write your own asynch actor tests. It's not a test runner etc - we use ScalaTest to run tests for example but you could as well use Specs2 - TestKit does not depend on any of the frameworks.

[akka-user] Maven Testkit Integration

2014-12-02 Thread David
Hi, I am searching for a pom.xml file that triggers Akka Scala TestKit tests. Something like "mvn test" will cause my TestKit tests to execute. Has anyone successfully done this? Most of the projects I have downloaded from Github use SBT/Specs2. Desperate. Thanks -- >> Read th

[akka-user] Akka Scheduler for Batch Insert (Slick)

2014-12-02 Thread Raymond Lau
Let's assume that I'm running a social network where the amount of peoples' likes coming in at a given time is very high (ex. a thousand likes per second throughout the whole day) and that I'm running on very limited hardware so my connection pool is relatively small. I'd like to make this

Re: [akka-user] akka - zeromq - cannot run even a simple toy program.

2014-12-02 Thread √iktor Ҡlang
Hi Ankit, have a look at this section of the 0mq Akka tests: https://github.com/akka/akka/blob/release-2.3/akka-zeromq/src/test/scala/akka/zeromq/ConcurrentSocketActorSpec.scala#L49 Did you consult this part of the Akka documentation: http://doc.akka.io/docs/akka/2.3.7/scala/zeromq.html#Publisher

Re: [akka-user] akka - zeromq - cannot run even a simple toy program.

2014-12-02 Thread ankit master
Hello, Thank you very much for all your help, I was earlier using zeromq version 4.1 but downgraded it to 2.2 yesterday. Now my problem is that everytime when I run my example it always enters the case of connecting. Please advise if more information is needed. import akka.util.ByteString im

[akka-user] Dead letters from akka-http flow in sbt multi-jvm test

2014-12-02 Thread Allan Brighton
Hi all, I'm using the sbt multi-jvm plugin for a test involving the experimental akka-http (0.11) package. The tests all pass, but on shutdown, I get lots of log warnings like this: [JVM-2] [WARN] [12/02/2014 22:01:45.560] [TestSpec-akka.actor.default-dispatcher-15] [akka://TestSpec/user/$c/f

Re: [akka-user] About calling Remote Actor in a process

2014-12-02 Thread Konrad Malawski
Hi there! >I want to know that, Can I get a remote actor Ref on remote process and > send particular type of message to it {actor ref persisted in context} in > that process? > I'm not sure I understand correctly - you want to get a remote actor, and send a message directly to it? Sure, you c

Re: [akka-user] akka - zeromq - cannot run even a simple toy program.

2014-12-02 Thread √iktor Ҡlang
Hi Ankit, You omitted the version of 0mq you are using, did you check the docs for supported versions? Cheers, V On 1 Dec 2014 23:02, "ankit master" wrote: > Hello, > > I am using CentOS 6.4 and am running into all sorts of troubles running > Akka zeromq. I have zeromq and jzmq installed on my