esbtools / event-handler

Notification in, document out.
GNU General Public License v3.0
3 stars 6 forks source link

Consider grabbing more notifications than needed to circumvent lock contention #54

Open alechenninger opened 8 years ago

alechenninger commented 8 years ago

If notifications per poll is 10, and there are 2 threads polling at the same time, each will likely get ~5. But, if we grab 20, then each will always get 10.

Not sure if it would be much different than just setting notifications per poll to 20 (hence type: question).