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

Download parallelo, imlpementare il multithreading #7

Open
jenkin opened this issue Apr 13, 2017 · 0 comments
Open

Download parallelo, imlpementare il multithreading #7

jenkin opened this issue Apr 13, 2017 · 0 comments
Assignees

Comments

@jenkin
Copy link

jenkin commented Apr 13, 2017

Un ciclo su centinaia di elementi e per ognuno c'è una chiamata http a un server remoto... il tutto è lentissimo, sarebbe da riscrivere sfruttando almeno il multithreading.

Si inizializza un pool di n workers che consumano la coda degli url alle pagine e ne fanno lo scraping in parallelo, scrivendo ognuno il proprio file xml in output.

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

1 participant