Improving performance for web scraping code

Posted by Pankaj Upadhyay on Programmers See other posts from Programmers or by Pankaj Upadhyay
Published on 2012-03-25T05:22:46Z Indexed on 2012/03/25 11:40 UTC
Read the original article Hit count: 489

Filed under:
|

I have a website in which the code scrapes other websites for getting the accurate data. While the code works good but there a decent lag in performance because the code firsts downloads the html stream from various sites(some times 9 websites), extracts the relative part and then renders the html page.

What should I do to get an optimal performance. Should I change from shared hosting (godaddy) to my own server or it has nothing to do with my hosting and I need to make changes to my code?

© Programmers or respective owner

Related posts about Performance

Related posts about web-scraping