Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7986727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:56:12+00:00 2026-06-04T11:56:12+00:00

Let’s say I have a squid proxy server with 10 IPs assigned to it

  • 0

Let’s say I have a squid proxy server with 10 IPs assigned to it (locally on my gigE network).

And let’s also say I have a different server with a different 10 IPs assigned to it, running a c# application which is running 10 threads, each thread being used to crawl a website. Each thread using a different assigned IP to send out its HTTP request.

My question is, if I run 10 threads in that application where each thread uses a proxy IP from the proxy server to crawl the website. And I also try 10 threads in that app where each thread uses a locally assigned IP directly on the server to crawl the site. Which will go faster to crawl the site from page to page, a thread using a proxy IP, or a thread using a direct IP from its own server?

I would imagine a direct IP on the server because proxy servers have inherent latencies but its proving to show the proxy server is being slightly faster. So I’m confused. Maybe its because using a direct IP uses some processing power and by using a proxy server it is able to outsource that processing to the proxy server? Help is much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:56:13+00:00Added an answer on June 4, 2026 at 11:56 am

    You mentioned that 10 different threads “crawl the site”, which sounds like you have 10 threads scraping different pages of the same site.

    In this case, using a proxy is often faster. Remember that most html pages look something like this:

    foo1.html
      |
      +--- Link: somefile01.xml
      |
      +--- Link: somestlyesheet.css
      |
      +--- Image: somepicture01.jpg
      |
      +--- Image: somepicture02.jpg
    
    foo2.html
      |
      +--- Link: somefile01.xml
      |
      +--- Link: somestlyesheet.css
      |
      +--- Image: somepicture01.jpg
      |
      +--- Image: somepicture03.jpg
    

    After a real web brower pulls foo1.html, it performs http GETs for somefile01.xml, somestylesheet.css, somepicture01.jpg, and somepicture02.jpg (usually in parallel). Presumably, if you scrape pages from the same site, you’re scraping pages that have some common overlap in content (such as shown above between foo1.html and foo2.html).

    If you have http object caching enabled on your proxy, your threads will be faster because you will get cache hits for some fraction of those files. If there is a cache hit, then the file is delivered to your code locally from the Squid cache on your LAN, instead of having to source it from the remote server every time.

    If you have 10 threads which all crawl different sites, then you should expect slower performance unless the only file they included was something like jquery.js. Incidentally, google offers web developers a way to use their cache to load several commmon javascript files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let me frame it this way.. Say I have an application server running on
Let's say I have an facebook application running using the JS SDK. First user
Let's say i have two tables in db: Car and Part. Car owns arbitrialy
Let’s say I have a number like 0x448 . In binary this is 0100
Let's say I have a 12-bit Analog to Digital Converter (4096 bins). And let's
Let's say I have a structure named vertex with a method that adds two
Let's say I have two tables orgs and states orgs is (o_ID, state_abbr) and
Let's say on a page I have alot of this repeated: <div class=entry> <h4>Magic:</h4>
Let's say I have window.open (without name parameter), scattered in my project and I
Let's say I have a text file composed like this ##### typeofthread1 ##### typeofthread2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.