envoyproxy/envoy

separate ConnectionPool from Cluster definition, make it sharable across Envoy worker threads

Open

#11 071 ouverte le 5 mai 2020

Voir sur GitHub
 (10 commentaires) (0 réactions) (0 assignés)C++ (5 373 forks)batch import
area/httparea/perfhelp wanted

Métriques du dépôt

Stars
 (27 997 stars)
Métriques de merge PR
 (Merge moyen 8j) (378 PRs mergées en 30 j)

Description

sometimes we deploy multiple services among a set of endpoints, we define a set of clusters on these machines, each has a pool connecting to the same set of endpoints.

Separating ConnectionPool from Cluster has many advantages:

  • The same set of backends may be used to serve multiple services, they can share the same connections, better performance, less RAM footprint, less pool warming.
  • different LB algorithms on same set of connections,
  • possibly introduce context awareness between services/clusters when their backends are the same.

Guide contributeur