Memory usage when extending event buffers is attributed to components #185
Labels
area/memory
Memory bounds and memory management.
effort/intermediate
Involves changes that can be worked on by non-experts but might require guidance.
type/chore
Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo.
Milestone
Context
Currently, the global event buffer pool is shared across components in order to move events through a topology. At startup, we allocate a fixed number of these buffers, but crucially, their capacity is empty. As the buffers are used, they are extended as needed.
This causes two main issues:
While the growth of these buffers generally won't actually be unbounded -- a lot of other bounds will come into play first -- their misattributed memory usage is problematic, because it can completely blow the budget of a component that otherwise doesn't allocate at all at runtime.
The text was updated successfully, but these errors were encountered: