elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

[Security Solution] Research rule management API endpoints impact on Kibana performance/event loop utilization #180044

Open maximpn opened 6 months ago

maximpn commented 6 months ago

Relates to: https://github.com/elastic/kibana/issues/177280

Summary

We need to research how Rule Management API endpoints impact on overall Kibana performance. Under different circumstances an endpoint handler can occupy event loop for substantial period of time which prevents any other Kibana's API endpoints to be picked up by the event loop. It may happen when processing a large number of rules like importing 10K rules or due to improper Promise usage. Prebuilt rules related endpoints depend on prebuilt rules package installation fetched from Elastic Package Registry (EPR). For example we need to know how hang EPR requests impact event loop utilization.

Details

TBD

Useful links

There is more information on node.js's performance.eventLoopUtilization().

elasticmachine commented 6 months ago

Pinging @elastic/security-solution (Team: SecuritySolution)

elasticmachine commented 6 months ago

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

elasticmachine commented 6 months ago

Pinging @elastic/security-detections-response (Team:Detections and Resp)