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

Data importing too slow without threading #2

Open
xros opened this issue Dec 28, 2015 · 2 comments
Open

Data importing too slow without threading #2

xros opened this issue Dec 28, 2015 · 2 comments
Assignees
Milestone

Comments

@xros
Copy link
Owner

xros commented Dec 28, 2015

I found it would be way slow if importing massive data into ES.

By default jsonpyes does not use Epoll, so it runs on one thread. The I/O of it is very slow.

It would take more than 5 hours to import 3GB data to ES.

There should be an improvement.

@xros xros self-assigned this Dec 28, 2015
@xros xros added this to the multi-threads milestone Dec 28, 2015
@xros
Copy link
Owner Author

xros commented Dec 29, 2015

This was solved by me.
#3

But the efficiency was not improved too much. Maybe it works greater in good servers.

Let's see. 😃

@xros
Copy link
Owner Author

xros commented Mar 30, 2016

almost 5 times faster than before.

Here's the pull request. #17

Thanks to all people's contribution to this project 😃

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

1 participant