New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer Documents for ConcurrentUpdateSolrClient #576

Merged
merged 6 commits into from Feb 13, 2019

Conversation

Projects
None yet
2 participants
@r-clancy
Copy link
Member

r-clancy commented Feb 11, 2019

(Re-)add object pooling for SolrClients... it helped throughput quite a bit for CloudSolrClient even though it's thread-safe.

Also, buffer docs for the ConcurrentUpdateSolrClient as it's queue is for update requests (i.e., it buffers add(SolrInputDocument) calls until the queue size is reached then drains the queue concurrently).

r-clancy added some commits Feb 10, 2019

Re-add object pooling and make it configurable.
Turns out it actually helps with performance...

@r-clancy r-clancy requested a review from lintool Feb 11, 2019

@lintool
Copy link
Member

lintool left a comment

minor tweaks to variable names?

r-clancy added some commits Feb 12, 2019

@lintool lintool merged commit ca58b56 into castorini:master Feb 13, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment