You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came here looking for reactor-alloc as the main reactor project lists reactor-alloc under reactor-addons. I was going to ask about a RingBuffer based lock-free implementation of an allocator (for object pooling) but was surprised to see that reactor-alloc doesn't exist.
@smaldini Even though the the event is statically typed, the event value is passed by reference. So in many instances the publishers always end up creating a value object for every publish which adds GC pressure for hot streams. What would help is a way to set the value in the event i.e. reuse the value objects in addition to reusing the event objects.
I came here looking for reactor-alloc as the main reactor project lists reactor-alloc under reactor-addons. I was going to ask about a RingBuffer based lock-free implementation of an allocator (for object pooling) but was surprised to see that reactor-alloc doesn't exist.
My interest in a lock-free allocator is related to my discussion here
https://groups.google.com/d/msg/reactor-framework/h2Dsm0USZjw/bGNotRyNCQAJ
If its not possible to avoid object creation when using reactor based messaging, then a lock free allocator would be useful to mitigate GC issues.
The text was updated successfully, but these errors were encountered: