Reduce the number of Http Agent instances #139809
Labels
Feature:elasticsearch
performance
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Born from #134362, this issue aims at improving memory footprint and performance by reducing the number of elasticsearch-js's Client instances. I identified two things that can be improved:
2
es-js Client instances +2*nbrOfNodes
pools +2*nbrOfNodes
connections +2*nbrOfNodes
Http Agents.We find a good example of both in
interactive-setup
plugin: It exposes an elasticsearch service abstraction whose methods systematicallycreateClient(...)
and end up using only one of the 2 ES Client instances.The text was updated successfully, but these errors were encountered: