-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve data plugin performance #84923
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
Awhile back there was a discussion around avoiding using However, performance did not come up as a potential issue in that discussion. @streamich has suggested a caching layer in the data plugin's services. Another option would be to go down the path of restructuring everything to accept scoped services, which was an alternative approach proposed in that thread. |
Also on the same topic of data plugin performance, there's this related issue about whether we can further decrease the page load bundle size: #84788 |
This issue has been without activity for a while now. |
It's on |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Maybe for clarity: #192170 specifically highlights the adv-settings doc loading as a bottleneck. They largely seem to be dupes. @lukasolson wdyt? |
Yeah, I'd agree |
The
data
plugin, being one of the most fundamental plugins in the Kibana ecosystem, is the critical part of improving the overall Kibana performance.Network
If you run Kibana with APM enabled (see instruction), you can notice that the plugin performs some amount of duplicated network requests, which can be optimized:
Note: I've got these numbers running Kibana and Elasticsearch locally - the network latency might be even higher on Cloud.
Code
kibana/src/plugins/data/server/search/search_service.ts
Lines 243 to 255 in b3430e3
RequestHandlerContext
with lazy instantiated APIkibana/src/core/server/core_route_handler_context.ts
Lines 32 to 58 in bc8a1da
The text was updated successfully, but these errors were encountered: