-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
aspect:streamsUnfolds and streamsUnfolds and streamstype:enhancementUser visible featureUser visible feature
Description
#428 introduced callback streams. Currently the callback adds a value to the stream in a non-blocking manner and goes away. If the callback runs too often the buffer may grow in an unbounded manner causing memory hog issues.
We can limit the buffer size of such streams and apply the following policies controlled by the API:
- Blocking: block the callback if the buffer limit exceeds
- Drop new: drop the latest elements and let the callback proceed
- Drop old: drop the oldest element in the buffer and let the callback proceed
Metadata
Metadata
Assignees
Labels
aspect:streamsUnfolds and streamsUnfolds and streamstype:enhancementUser visible featureUser visible feature