I would say it goes back to the core of the disruptor technology which
essentially provides a different realization of a queue concept trough a
ring buffer which is array based (not java Queue implementations). I am
assuming mailboxes in Akka are Queue based and for high throughput cases
Queues do introduce significant latency. I've observed similar (some times
much greater) performance gains when experimented with the idea of the
disruptor-based Queue channel in spring integration. There are also cache
line trickery there with long padding, but that's a whole other topic.


On Mon, Jan 6, 2014 at 5:32 PM, Jonas Bonér <[email protected]> wrote:

> Sounds interesting. In which scenarios/under which conditions does it have
> better throughput?
>
>
> On Wed, Jan 1, 2014 at 11:04 AM, Igor Konev <[email protected]>wrote:
>
>> If somebody is still interested, I've implemented a bounded mailbox using
>> Disruptor and obtained a throughput gain of about 50% over the standard
>> bounded mailbox. You can find the source code here
>> https://github.com/yngui/akka-disruptor.
>>
>> --
>> >>>>>>>>>>      Read the docs: http://akka.io/docs/
>> >>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>> >>>>>>>>>>      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/groups/opt_out.
>>
>
>
>
> --
>
> *Jonas Bonér*Phone: +46 733 777 123
> Home: jonasboner.com
> Twitter: @jboner <https://twitter.com/jboner>
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> 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/groups/opt_out.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to