Skip to content

Commit 3cab97a

Browse files
authored
Recommend simpleConnectionPool for Cloud (#1193)
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.
1 parent a6b3cd3 commit 3cab97a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/connection-pool.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ The `SimpleConnectionPool` returns the next node as specified by the selector;
7878
it does not track node conditions. It returns nodes either they are dead or
7979
alive. It is a simple pool of static hosts.
8080

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

8486
To use the `SimpleConnectionPool`:
8587

0 commit comments

Comments
 (0)