[data views] fields_for_wildcard / fields REST apis can be somewhat slow, move processing to client #172969
Labels
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
A scalability test of the fields_for_wildcard and new fields REST api calls has shown that the processing of larger field_caps responses can be somewhat slow and introduce a fair amount of server load.
Attempts to make the code more efficient have either failed or are too small to make a meaningful difference. Instead, we could move the field_caps response processing to the client. This has the advantage of allowing the browser to skip the processing of the response if its a 304.
We haven't specifically seen any complaints regarding this but I still thought it was worth documenting.
The text was updated successfully, but these errors were encountered: