Buffer Size Guidance

35 views
Skip to first unread message

Adam Mills

unread,
Aug 19, 2011, 10:04:44 AM8/19/11
to disrup...@googlegroups.com
HI,

I've been playing with Disruptor (great work!).
And was wondering if there is any guidance for setting the buffer size?

I had initially thought bigger was better, but have found that a small buffer size (i.e. 10)  is giving me better speeds.
i am producing and consuming at the same time. (i.e. the producer is started on a background thread, unlike the Perf tests in the source)

Adam Mills

unread,
Aug 23, 2011, 8:36:33 AM8/23/11
to disrup...@googlegroups.com
I think this is due to the chained consumer bug raised I here.
http://code.google.com/p/disruptor-net/issues/detail?id=7
Reply all
Reply to author
Forward
0 new messages