ConcurrentLinkedQueue for slow path

41 views
Skip to first unread message

Robert DiFalco

unread,
Nov 10, 2014, 11:43:14 AM11/10/14
to stor...@googlegroups.com
You might find this interesting for your slow-path instead of using BlockingLinkedQueue.


For most of my tests this had a major impact on speed even if I used regular locking instead of parking.

Just for what it's worth...

R.

Chris Vest

unread,
Nov 12, 2014, 3:44:05 AM11/12/14
to Robert DiFalco, stor...@googlegroups.com
Improving the slow path is on the plan for 2.4. As I recall my benchmarks, LinkedTransferQueue is faster than the approaches he show in that blog post, when it has items in it, but doesn’t cope as well with the empty or near-empty situations as I would like.

Cheers,
Chris

--
You received this message because you are subscribed to the Google Groups "stormpot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stormpot+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages