Open maximpn opened 6 months ago
Pinging @elastic/security-solution (Team: SecuritySolution)
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)
Pinging @elastic/security-detections-response (Team:Detections and Resp)
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()
.