[akka-user] gRPC and Akka

2016-07-05 Thread Abdul Jabbar Azam
Hello, Does anybody have any experience to share of interfacing gRPC with Akka? I want to do an implementation for myself but would like to learn what other people have experienced doing this including successes and any pitfalls. -- >> Read the docs: http://akka.io/docs/

Re: [akka-user] Re: Send message from netty code to actor system

2015-02-07 Thread Jabbar Azam
, is not stored by routee actor internally for any purposes. This should be sufficient for pure req/reply pattern Regards Muthu On Thursday, 5 February 2015 03:39:18 UTC+5:30, Jabbar Azam wrote: After alot of head scratching I came to same conclusions as you. It's good to see somebody else having

Re: [akka-user] Re: Send message from netty code to actor system

2015-02-04 Thread Jabbar Azam
. This wrapper actor will communicate with targetActorRef. It may watch targetActorRef to handle the case when targetActorRef dies, targetActorRef doesn't respond after some timeout etc. On Wednesday, February 4, 2015 at 10:09:19 PM UTC+9, Jabbar Azam wrote: I found some nice example showing

Re: [akka-user] Re: Send message from netty code to actor system

2015-02-04 Thread Jabbar Azam
February 2015 13:48:47 UTC, Jabbar Azam wrote: Oops I meant channel handler. On Tuesday, 3 February 2015 13:32:21 UTC, Jabbar Azam wrote: Hello, Sorry for the late reply. For some reason the forum messages didn't get forwarded to my email. I was thinking of using typedactors because I

[akka-user] Re: Send message from netty code to actor system

2015-02-03 Thread Jabbar Azam
://www.google.com/url?q=http%3A%2F%2Fxitrum-framework.github.io%2Fsa=Dsntz=1usg=AFQjCNG3uTDlktQ0TkVHjyH6N2ZKVJZezg On Tuesday, January 27, 2015 at 6:29:43 PM UTC+9, Jabbar Azam wrote: Hello, How do I send a message from java non actor based code into an actor system? The code will be running

[akka-user] Send message from netty code to actor system

2015-01-27 Thread Jabbar Azam
Hello, How do I send a message from java non actor based code into an actor system? The code will be running on the same node and will be part of the same source code. So netty will be running, receiving packets, which will send any received packets into an actor system. The actor system will

Re: [akka-user] Database actor design

2014-08-08 Thread Jabbar Azam
Thanks Konrad. I wrote my question late at night so it probably didn't make sense. What I was trying to get at was how to work out what functionality to add to the database actors. In Jamie Allens book Effective Akka http://shop.oreilly.com/product/0636920028789.do he mentions actors should be

[akka-user] Database actor design

2014-08-07 Thread Jabbar Azam
Hello, I'm trying to design a database actor to handle all the database database activity. The domain entities are GPS locations and users. I was thinking of having two database actors, one with crud operations for GPS locations and the second for crud operations for the users. I'm not sure if

Re: [akka-user] Pooled router initialisation

2014-07-29 Thread Jabbar Azam
(FromConfig.props(Props(classOf[Worker], argument1, argument2)), router1) On Tue, Jul 29, 2014 at 10:31 AM, Jabbar Azam aja...@gmail.com javascript: wrote: OK I found it. A non clustered group router with externally assigned routees. -- Read the docs: http://akka.io/docs

[akka-user] Pooled router initialisation

2014-07-28 Thread Jabbar Azam
Hello, I want to create a pooled router but I want to pass an database session object to each routee. How do I do this? Do I need to create my own routees and pass their path to the router? -- Read the docs: http://akka.io/docs/ Check the FAQ:

Re: [akka-user] supervisor hierarchies

2014-05-30 Thread Jabbar Azam
I also found this excellent text describing the supervisor hierarchies. It's about Erlang but the concepts can be applied to Akka http://learnyousomeerlang.com/building-applications-with-otp#the-onion-layer-theory On Thursday, 29 May 2014 13:03:03 UTC+1, Jabbar Azam wrote: Thanks Conrad I

Re: [akka-user] supervisor hierarchies

2014-05-29 Thread Jabbar Azam
Hello Konrad, I had read the relevant documentation but I still couldn't work out the structure of the actor hierarchies. Does this mean that there you should only have one actor which is the child of the user guardian, or am I missing something? On Wednesday, 28 May 2014 23:24:08 UTC+1,

Re: [akka-user] supervisor hierarchies

2014-05-29 Thread Jabbar Azam
Thanks Conrad I understand. I think understanding the error kernel pattern is really important together with http://doc.akka.io/docs/akka/2.3.3/general/actor-systems.html of the documentation. On Thursday, 29 May 2014 11:48:28 UTC+1, Konrad Malawski wrote: Not exactly one, but yeah as

[akka-user] supervisor hierarchies

2014-05-28 Thread Jabbar Azam
Hello, I'm a bit confused with supervisor hierarchies. I've read the akka documentation and other books but hierarchy design is still not sinking in :( A simple, made up, example. I have a web front end with business logic and a database. converting this to akka I would create a web front

Re: [akka-user] Re: Broadcast a message with cluster sharding

2014-05-07 Thread Jabbar Azam
that has subscribers and then delivered to all local subscribers. /Patrik 6 maj 2014 kl. 15:30 skrev Jabbar Azam aja...@gmail.com javascript:: Hello Chanan, This is an evening project for me so you might get it done before me. Although I got the cluster sharding, with cassandra, working last

Re: [akka-user] Re: Broadcast a message with cluster sharding

2014-05-06 Thread Jabbar Azam
not scale linearily. -Endre On Sat, May 3, 2014 at 1:06 AM, Jabbar Azam aja...@gmail.comjavascript: wrote: I've just looked at the documentation. I can use the DistributedPubSubMediator and get all the sharded actors listening to a topic. So when I need the contents from a particular

Re: [akka-user] Re: Broadcast a message with cluster sharding

2014-05-06 Thread Jabbar Azam
Hello Chanan, This is an evening project for me so you might get it done before me. Although I got the cluster sharding, with cassandra, working last night. On Tuesday, 6 May 2014 14:14:19 UTC+1, Chanan Braunstein wrote: Hi Jabbar, We were thinking of that same design. If you implement

[akka-user] Re: Broadcast a message with cluster sharding

2014-05-02 Thread Jabbar Azam
containing the cache information will respond. Sounds too simple. I must be missing something... On Friday, 2 May 2014 21:25:17 UTC+1, Jabbar Azam wrote: Hello, I want to create a cluster of actors using the cluster sharding module. I want to be able to send a message to all the actors in the cluster

Re: [akka-user] Micro service architecture using Akka clustering

2014-01-09 Thread Jabbar Azam
Are you thinking of running one JVM for each micro service? The JVM is very heavy, and you can only run a few on each server machine (depends on the hardware of course). It was late last night/early morning that I was thinking of a JVM per micro service. I forgot about the JVM overhead.