How to use Akka BoundedMailBox to throttle a producer
问题 I have two actors, one is producing messages and the other is consuming the messages at a fixed rate . Is it possible to have the producer throttled by the consumers BoundedMailBox? (back pressure) My producer is currently periodically scheduled (sending it a tick message), is there a way to have it scheduled by availability in the consumers mailbox instead? I am using fire and forget style ( consumer.tell() ) since I do not need a response. Should I be using different message sending