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

[Feature Request] Use gevent for perfomance improvement #1

Open
glic3rinu opened this issue Nov 10, 2012 · 1 comment
Open

[Feature Request] Use gevent for perfomance improvement #1

glic3rinu opened this issue Nov 10, 2012 · 1 comment

Comments

@glic3rinu
Copy link

Since HTTP requests executes synchronously there is a lot of idle time spend waiting for IO to complete. Gevent can be used for a massive concurrency improvement.

http://www.youtube.com/watch?v=2gcrTsQ7yi4&feature=plcp

@p4u
Copy link
Owner

p4u commented Nov 10, 2012

Yeah, sure it would increase the performance, however I did this one night in some hours and I have never used it... I mean, I'm not sure if this this useful for something and if it deserves improvements :-P

Apart from this, there is a very big issue. Crawler works recursively, so it takes all links from the current web page. Then for each Web it takes n links (probably more than 10). Then the queue of "remaining links to visit" is increasing exponentialy, and it will never stops. So, which is the end? your memory is full...

Thanks for this information! I will use it in other crawler's stuff

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

No branches or pull requests

2 participants