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 8414393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:09:27+00:00 2026-06-10T01:09:27+00:00

I am doing web crawling on a server with 32 virtual processors using Java.

  • 0

I am doing web crawling on a server with 32 virtual processors using Java. How can I make full of these processors? I’ve seen some suggestions on multi-threaded programming, but I wonder how that could ensure all processors would be taken advantage of since we can do multi-threaded programming on single processor machine as well.

  • 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-10T01:09:29+00:00Added an answer on June 10, 2026 at 1:09 am

    There is no simple answer to this … except the way to ensure all processors are used is to use multi-threading the right way. (Note: that is a circular answer!)

    Basically, the way to get effective use of multiple processors is to:

    • ensure that there is work that can be done in parallel, and
    • reduce / eliminate contention points that force one thread to wait while another thread does something.

    This is difficult enough when you are doing simple computation. For a web crawler, you’ve got the additional problems that the threads will be competing for network and (possibly) remove server bandwidth, and they will typically be attempting to put their results into a shared data structure or database.

    That’s about all that can be said at this level of generality …


    And as @veer correctly points, you can’t “ensure” it.


    … but using a load of threads will surely be quicker wall-time-wise because all the miserable network latency will happen in parallel …

    Actually, if you go overboard, a load of threads can reduce throughput because of contention. Just throwing lots of threads at the problem is rarely a good idea.

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

Sidebar

Related Questions

I am doing web crawling on a Sun server with 32 virtual processors and
I'm doing web project in tapestry by using jetty server in Eclipse. It works
I find it very frustrating doing web development with Maven & Jetty using Eclipse,
I`m doing some web.config modifications with SPWebConfigModification class. When adding them to WebApplication and
When doing some web maintenance today, I noticed a strange new folder on my
I'm doing a Web application using Spring 3.1.0.RELEASE, JSF 2.x, JPA 2 with Hibernate
I'm doing a Web application using Spring 3.1.0.RELEASE, JSF 2.x, JPA 2 with Hibernate
When doing web development, you frequently make changes and then refresh the browser. Is
I have been doing web designing for quite some time. My question is: Should
I'm building a local vm for doing web dev rather than using our on

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.