Skip to content

Added docs about cf-reactor performance - #3824

Open
victormlg wants to merge 1 commit into
cfengine:masterfrom
victormlg:reactor-limits
Open

victormlg wants to merge 1 commit into
cfengine:masterfrom
victormlg:reactor-limits

Conversation

@victormlg

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Victor Moene <victor.moene@northern.tech>
**Notes:**

- Users and packages could not be added or removed fast enough to reach the limit of `cf-reactor`: these figures are lower bounds.
- Above the limit, `cf-reactor` doesn't lose events: they pile up in the queue and are handled late.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the queue ever get full? Will you eventually run out of memory?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the queue cannot get full. Yes it will ran out of memory if too many events are coming.


**Notes:**

- Users and packages could not be added or removed fast enough to reach the limit of `cf-reactor`: these figures are lower bounds.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use a fake package module that is faster.

@larsewi

larsewi commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Maybe a better way to measure this is: how fast can you setup and execute an empty bundle, and how fast is the "check" for each type. Everything else seems out of our control. E.g., what the then bundle is doing, or how slow the package manager is. Those things are not really cf-reactor limits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants