[akka-user] Planning worker actor lifetime

2016-01-26 Thread Vagif Abilov
I am writing some worker actors that perform operations with external resources and I wonder whether I should strive to make them short-living or reuse them. Consider two main scenarios: 1. Worker actor is doing IO operation that isn't limited with constraints like connection pooling, throttlin

Re: [akka-user] Re: What is a proper way to acknowledge an MQ message from a chain of actors?

2015-12-30 Thread Vagif Abilov
ak at the end. > > On Wednesday, December 30, 2015 at 11:35:33 AM UTC, Vagif Abilov wrote: >> >> Hello, >> >> We want to use Akka to implement a scenario when messages are fetched >> from a message queue (RabbitMQ) and then processed by a chain of actors. >>

[akka-user] What is a proper way to acknowledge an MQ message from a chain of actors?

2015-12-30 Thread Vagif Abilov
Hello, We want to use Akka to implement a scenario when messages are fetched from a message queue (RabbitMQ) and then processed by a chain of actors. The queue is durable and messages must not be lost. So we need to send an acknowledgement (BasicAck in RabbitMQ) back to the queue in order to f

Re: [akka-user] Replacing AMPQ with Akka

2015-12-05 Thread Vagif Abilov
ing Akka, sure; but why? They're hard > problems. Just use RabbitMQ. It's battle tested and it's one less custom > thing everyone on your team will need to learn. > > Tim > > On Dec 2, 2015, at 04:05, Vagif Abilov > > wrote: > > Thanks, Tim. No, I hav

[akka-user] Re: Replacing AMPQ with Akka

2015-12-02 Thread Vagif Abilov
ibe in a way that keeps the complexity out of your > codebase. It's well tested and is being used in several production > environments (of which I'm aware). > > > > On Tuesday, December 1, 2015 at 1:10:37 AM UTC-7, Vagif Abilov wrote: >> >> Hi, >> &g

[akka-user] Replacing AMPQ with Akka

2015-12-01 Thread Vagif Abilov
Hi, I am quite new to Akka and am currently investigating if it's a good idea to replace some of our logic built around AMPQ (RabbitMQ) with Akka and actor model. Here's one of our scenarios: 1. Receive a message from RabbitMQ. 2.1-2.n Perform several operations, some of them in a transaction s