Skip to content

[data views] fields_for_wildcard / fields REST apis can be somewhat slow, move processing to client #172969

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:Data ViewsData Views code and UI - index patterns before 8.0Team:DataDiscoveryDiscover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)impact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions