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
Implement an adaptive "Task Buffer" with a go slice that efficiently manages task flow between the producer(data-source) and the consumer(worker). The producer adds tasks to the buffer and pauses when the buffer is full. The consumer then takes and processes tasks from the buffer.
What problem does this feature solve?
This mechanism ensures that all collected data is processed successfully and efficiently under backpressure conditions. Currently, the task channel is unbuffered, which can cause delays and blocking latency when too many tasks are sent to the channel in a short period. Implementing a sliding window buffer makes data processing more efficient.
Additional description
No response
This is not a duplicated feature request or new worker proposal
I have searched existing issues to ensure this feature has not already been requested and this is not a New Worker.
The text was updated successfully, but these errors were encountered:
FrankLi123
changed the title
Resolving Backpressure Issues about the Task Channel in Node
Resolve Backpressure Issues about the Task Channel in Node
Sep 2, 2024
What feature is it?
Implement an adaptive "Task Buffer" with a go slice that efficiently manages task flow between the producer(data-source) and the consumer(worker). The producer adds tasks to the buffer and pauses when the buffer is full. The consumer then takes and processes tasks from the buffer.
What problem does this feature solve?
This mechanism ensures that all collected data is processed successfully and efficiently under backpressure conditions. Currently, the task channel is unbuffered, which can cause delays and blocking latency when too many tasks are sent to the channel in a short period. Implementing a sliding window buffer makes data processing more efficient.
Additional description
No response
This is not a duplicated feature request or new worker proposal
The text was updated successfully, but these errors were encountered: