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

[Meta] Enabling xpack plugins limits Kibana server capacity #129589

Closed
lizozom opened this issue Apr 6, 2022 · 6 comments · Fixed by #140763
Closed

[Meta] Enabling xpack plugins limits Kibana server capacity #129589

lizozom opened this issue Apr 6, 2022 · 6 comments · Fixed by #140763
Labels
bug Fixes for quality problems that affect the customer experience performance Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc wg:performance Work tracked by the performance workgroup

Comments

@lizozom
Copy link
Contributor

lizozom commented Apr 6, 2022

While benchmarking our server capacity and running a node profiler, we saw that disabling xpack plugins impacts server capacity.

Plainly disabling them increases our server's capacity (how many concurrent requests can we handle) about x2.
Disabling oss plugins does nothing to server capcacity.

I'm currently not sure which plugin is causing this, but it would be easier to troubleshoot if we have #129050

image

Test Results
Testing instructions

@lizozom lizozom added bug Fixes for quality problems that affect the customer experience performance labels Apr 6, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 6, 2022
@rayafratkina rayafratkina added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label May 26, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 26, 2022
@pgayvallet
Copy link
Contributor

@rayafratkina sorry, how exactly is that issue supposed to come under Core's responsibility?

@lukeelmers lukeelmers added the wg:performance Work tracked by the performance workgroup label Jun 7, 2022
@lizozom
Copy link
Contributor Author

lizozom commented Jul 20, 2022

To clarify, this issue was to show that many plugins register request \ response listeners that effect the response time of static asset delivery.

I think there are several potential solutons to this:

  1. Stop serving static assets from the dev server and use a cdn \ separate process
  2. Make sure that no custom listeners run on static asset delivery.

If you don't think this is a priority, feel free to close \ defer this 🙏🏻

@lukeelmers
Copy link
Member

Stop serving static assets from the dev server and use a cdn

Last time we floated the idea of serving static assets over a CDN, we got strong feedback that this wasn't something we should be pursuing at this time.

Make sure that no custom listeners run on static asset delivery

I'm assuming you're talking about our http lifecycle hooks here? The only plugins I'm aware of which are using those are security/spaces/licensing (all in xpack), and I think we'd still want those to run for static asset delivery. Or maybe there is something else you are referring to by custom listeners?

@lizozom
Copy link
Contributor Author

lizozom commented Sep 14, 2022

@rudolf and I are looking into some potential performance issues.
Now looking at #140514
Lets keep linking any additional work here.

@lizozom lizozom changed the title [Bug] Some xpack plugins limit Kibana server capacity [Meta] Enabling xpack plugins limits Kibana server capacity Sep 14, 2022
@afharo
Copy link
Member

afharo commented Sep 14, 2022

@lizozom I submitted #140763. Can you help me validate if it improves the performance in any way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience performance Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc wg:performance Work tracked by the performance workgroup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants