Skip to content

Commit

Permalink
Recommend simpleConnectionPool for Cloud (#1193)
Browse files Browse the repository at this point in the history
As per #918 (comment) and https://elastic.slack.com/archives/CH37CF39S/p1643707941052409 we recommend using the `simpleConnectionPool` when there is a proxy or load balancer in place. This applies to Elasticsearch Service and ECE (Cloud). Hence the comments need to be updated.
  • Loading branch information
toby-sutor authored and ezimuel committed Feb 3, 2022
1 parent dcb11e3 commit 1c0d84b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/connection-pool.asciidoc
Expand Up @@ -78,8 +78,10 @@ The `SimpleConnectionPool` returns the next node as specified by the selector;
it does not track node conditions. It returns nodes either they are dead or
alive. It is a simple pool of static hosts.

The `SimpleConnectionPool` is not recommended for routine use but it may be a
useful debugging tool.
The `SimpleConnectionPool` is recommended where the Elasticsearch deployment
is located behnd a (reverse-) proxy or load balancer, where the individual
Elasticsearch nodes are not visible to the client. This should be used when
running Elasticsearch deployments on Cloud.

To use the `SimpleConnectionPool`:

Expand Down

0 comments on commit 1c0d84b

Please sign in to comment.