envoyproxy/envoy

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

Open

#11.071 geöffnet am 5. Mai 2020

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/httparea/perfhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide