Hello all!

I am thinking of using bounded mailbox as a simple solution to backpressure 
implementation. My app basically consumes messages from a queue (kafka), 
unpacks and processes them and sends to HBase storage. The birds-eye 
overview of the principal actors is:

W - writes to Hbase
C - consumes from Kafka and sends to W and a number of processors P1...Pn
P1-Pn - do various processing, generating a lot of derived stuff and send 
all to W

so I want to propagate backpressure all the way from W (through P1-Pn, 
because they are the primary generators of load) to C. Should I or should I 
not use message timeouts? I don't like the idea that I would have to figure 
out exactly what message and from what actor timed out - it'll make things 
too complicated. On the other hand not using timeouts will block actors 
which is a bad idea. Is it really in this case? I can't see why if the 
actor has to wait anyway

Thanks
Vadim

-- 
>>>>>>>>>>      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 subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to