Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Support persistent connections to App Search #14

Open
jsvd opened this issue Sep 27, 2018 · 0 comments
Open

Support persistent connections to App Search #14

jsvd opened this issue Sep 27, 2018 · 0 comments

Comments

@jsvd
Copy link

jsvd commented Sep 27, 2018

Currently the Client class creates a new HttpClient per request, which means a new connection as well.

For high load scenarios, the object allocation and round trip cost is too high, so the Client class should contain a single httpclient and manage its lifecycle.

This would also create the requirement to ensure the class behaves in a threadsafe way, so we can create a single client and share it across multiple indexing threads.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant