Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two separate CpuBoundWork semaphores – HTTP | JSONRPC #10046

Open
Al2Klimov opened this issue Apr 17, 2024 · 2 comments
Open

Two separate CpuBoundWork semaphores – HTTP | JSONRPC #10046

Al2Klimov opened this issue Apr 17, 2024 · 2 comments
Labels
area/api REST API area/distributed Distributed monitoring (master, satellites, clients) ref/IP

Comments

@Al2Klimov
Copy link
Member

Is your feature request related to a problem? Please describe.

One of our customers is DDoSing their Icinga 2 via /v1/hosts (a lot of hosts btw.).
That locks up cluster communication entirely.

Describe the solution you'd like

The separate HTTP CpuBoundWork gets e.g. 1 slot or 1/2 of all so that it doesn't bother the cluster.

Describe alternatives you've considered

Put actual processing of HTTP requests in a queue.

Additional context

ref/IP/48306

@Al2Klimov Al2Klimov added area/distributed Distributed monitoring (master, satellites, clients) area/api REST API ref/IP labels Apr 17, 2024
@Al2Klimov
Copy link
Member Author

Describe alternatives you've considered

Put actual processing of HTTP requests in a queue.

@Al2Klimov
Copy link
Member Author

Maybe Icinga DB even deserves its own I/O, isolated from everything else. So that it doesn't influence cluster communication throughput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API area/distributed Distributed monitoring (master, satellites, clients) ref/IP
Projects
None yet
Development

No branches or pull requests

1 participant