Skip to content
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

Reuse the request when uploading multiple documents #36

Open
fccoelho opened this issue Apr 11, 2014 · 4 comments
Open

Reuse the request when uploading multiple documents #36

fccoelho opened this issue Apr 11, 2014 · 4 comments

Comments

@fccoelho
Copy link
Member

The add_documents function should reuse the same request to speedup upload.

@fccoelho fccoelho added the bug label Apr 11, 2014
@turicas
Copy link
Contributor

turicas commented Apr 13, 2014

It seems that keep alive is default for requests sessions.

@turicas turicas added enhancement and removed bug labels Apr 13, 2014
@flavioamieiro
Copy link
Member

So, do we have any other ideas to speed up the upload process? 1 doc/s is really not a good average time.

@turicas
Copy link
Contributor

turicas commented Apr 14, 2014

We can run the same script on the machine running the API itself to test how much the network in between the client and server machines is making the process slower.

@fccoelho
Copy link
Member Author

We definitely need some tests. After all this speed is not explainable by
bandwidth alone.
Em 14/04/2014 16:28, "Álvaro Justen" notifications@github.com escreveu:

We can run the same script on the machine running the API itself to test
how much the network in between the client and server machines is making
the process slower.


Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-40407598
.

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

No branches or pull requests

3 participants