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
Message processing involves passing messages between several channels (e.g., DrasylChannel <-> DrasylServerChannel, <-> DatagramChannel). Currently, messages are passed to the other channel via fireChannelRead/write(andFlush) calls, often resulting in a scheduled task to the target channel's event loop per message.
We can reduce the scheduling overhead by using something like an inbound and outbound channel buffers, where we place all messages to, followed by a scheduled tasks that process the buffer's content.
This change will reduce the number of schedules to one if multiple messages are read or written in a run.
The text was updated successfully, but these errors were encountered:
Message processing involves passing messages between several channels (e.g., DrasylChannel <-> DrasylServerChannel, <-> DatagramChannel). Currently, messages are passed to the other channel via
fireChannelRead
/write(andFlush)
calls, often resulting in a scheduled task to the target channel's event loop per message.We can reduce the scheduling overhead by using something like an inbound and outbound channel buffers, where we place all messages to, followed by a scheduled tasks that process the buffer's content.
This change will reduce the number of schedules to one if multiple messages are read or written in a run.
The text was updated successfully, but these errors were encountered: