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

  • Home
  • SEARCH
  • 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 591381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:37:43+00:00 2026-05-13T15:37:43+00:00

I have a given list of URL’s, and i make an HTTP web request

  • 0

I have a given list of URL’s, and i make an HTTP web request object, and try to connect with it, i have an ‘array’ of url’s, and i try to connect with each one. the objective is seeing which ones are out.

It already works, but one request only starts as soon as the last one ends, so it’s quite a slow working, about two requests per second.

I was wondering if i should make about 5 threads working alongside in the background, that would make it 5 times faster, which is the desired speed (whithout overloading the shared internet band). But i have two problems:

1 – i don’t even know IF it is the best solution for my problem.
2 – i’ve tried some times, but i’m new to .NET framework, and have never used multi-thread. so i don’t know how i would do it easily.

I have a function start(), and it has a For that goes through all the url’s checking existence.

data: VS 08, .NET 3.5, C#.

–[edit]–

Can anyone tell me (with code sample if possible) how to use five (not as many as possible) threads in backgroundworker ? what about starting right after the last processing ends ?

  • 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-05-13T15:37:44+00:00Added an answer on May 13, 2026 at 3:37 pm

    Research the BackgroundWorker Object. This will allow you to spawn multiple thread workers to instantiate asynchronous web requests. Then just use the ReportProgress method to report back on the status of each request.

    http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx
    http://www.dotneat.net/2009/02/10/BackgroundworkerExample.aspx
    http://dotnetperls.com/backgroundworker

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

Sidebar

Ask A Question

Stats

  • Questions 286k
  • Answers 286k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer list.forall( str => str.size == list(0).size ) Edit: Here's a… May 13, 2026 at 4:55 pm
  • Editorial Team
    Editorial Team added an answer Typically it is a class's own responsibility to ensure that… May 13, 2026 at 4:55 pm
  • Editorial Team
    Editorial Team added an answer Use this for Element nodes: document.getElementsByTagName("*").length For any node, you… May 13, 2026 at 4:55 pm

Related Questions

I have a huge list of URL's, in the format: http://www.example.com/dest/uk/bath/ http://www.example.com/dest/aus/sydney/ http://www.example.com/dest/aus/ http://www.example.com/dest/uk/
I have a SQL 2005 table consisting of around 10million records (dbo.Logs). I have
given the URL of a well known company (eg http://mcdonalds.com/ ), how would you
I've got the following setup: map.resources :articles map.resources :users, :has_many => [:articles] Which is
Given a list of urls, I would like to check that each url: Returns

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.