Should i create restClient thread pool in rest api?

Now, i creating a restClient to requesting es-server , it is low-peformance?

The low level Elasticsearch rest client spins up a couple of background threads to support async-httpclient so you should only use one copy of it. You can customize the thread pool by specifying callbacks in the builder.

1 Like

Tank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.