[RAC][Rule Registry] Cache rule data writers and index bootstrapping #110945
Labels
Team:Detection Alerts
Security Detection Alerts Area Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Theme: rac
label obsolete
Parent ticket: #101016
Depends on: #108941
Summary
When we move certain parts of the index bootstrapping logic to
IRuleDataClient.getWriter()
(#108941 (comment)) this method call will become relatively expensive.We could implement caching for writers, so that when a user has a lot of detection rules in a Kibana space, it doesn't end up with thousands of requests to Elasticsearch in order to bootstrap resources for the same
.alerts-security.alerts-{kibana-space-id}
index. It shouldn't cache them forever, because in theory Kibana instances can run for a very long time. A short TTL might work.The text was updated successfully, but these errors were encountered: