-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
- Invent an eventloop to schedule queue flush, so thread count is not reporter-bounded.
- Each queue are bounded to specific eventloop, so there will be only one consumer.
- A MPSC queue is used to schedule tasks. The messages will also be offered in this sort of queue.
- So the message queue will be non-blocking, which means the
blockoverflow-strategy will no longer exist. - So if a message is rejected, users want it blocked should implement their own
RejectedHandler
- An eventloop that execute tasks or schedule them at a fixed rate.
- A selector that select the ready(full) queue.
- Use jctools
MPSCqueue as the message queue. - Adjust overflow strategy to make compatible with the message queue.
-
AsyncReporterbinds a queue to an eventloop when created. - Schedule a flush task of a message queue at a fixed rate to the eventloop.
Metadata
Metadata
Assignees
Labels
No labels