Closed GoogleCodeExporter closed 8 years ago
Sounds like a good suggestion; I'll have a look and add something like this.
Notice however that if your application cannot process messages faster than
they arrive you're in trouble regardless of this change.
Original comment by lidg...@gmail.com
on 7 Sep 2011 at 6:44
Added in revision 259; thanks for the suggestion!
Original comment by lidg...@gmail.com
on 9 Sep 2011 at 8:13
fyi, i only looked at the bulk recycle, but you are not doing the lock(s) for
the group, so it's still doing the per-message synchronization my suggestion is
trying to prevent.
Original comment by jas...@novaleaf.com
on 9 Sep 2011 at 8:51
Yes, I don't like the Lock/Unlock mechanism, even tho it would work ok if used
within a try-finally. I'll do another pass on it tho... it's both the storage
and the incoming netqueue that's locking and unlocking unnecessarily.
Original comment by lidg...@gmail.com
on 9 Sep 2011 at 10:04
Updated in rev 265 to use less locks; it might improve performance slightly in
cases where a lot of messages are bulk recycled; but the issue with infinitly
backlogging is an application one.
Original comment by lidg...@gmail.com
on 25 Sep 2011 at 10:42
Original issue reported on code.google.com by
jas...@novaleaf.com
on 7 Sep 2011 at 2:02