473,546 Members | 2,644 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multithreading and HTTP send

I am using multi threading per customer ( currently 2 only ) to send
http request for data pooling / pushing.
It looks like if one thread is in process of pooling data, the other
thread is waiting until that process is finished.

It takes about 20-25 minutes to pool file from 1st customer ( 1 big
file).
Meanwhile, second thread suppose to be sending responses for the 2nd
customer, smaller files, takes about 2-5 seconds to process, but it's
not processing them, until 1st customer's file is finished pooling.
As soon as 1st file is pooled, the other thread is quickly finished.

I am using simple threading:

Dim cls As New clsTimerThread
'Create the new thread
Dim t As New Thread(AddressO f cls.subRunningT ask)
t.Start() 'Begin execution of the new thread

where clsTimerThread is calling my HTTP send class.

I need both processes to be able to work in parallel.
Right now I have a feeling of scalability issue.

Thanks in advance for any ideas.

Feb 28 '06 #1
0 867

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4003
by: Mark | last post by:
Is there a way to achieve multithreading in JavaScript? I'm looking to fetch a page into a div while allowing the user to interact with another div. At some point the newly fetched page contents will be available to the div that the user is working in but I don't want to cause unnecessary blocking. I've thought of using frames (would prefer...
0
1003
by: Davy | last post by:
I am trying to write a simple Console based Chat app. I am having trouble multithreading, if someone can give me a hint. I am trying to pass the NetworkStream 'ns' to the methods, but also run seperate threads for listening and sending. Here's the code, thanks for any input. using System; using System.Net; using System.Net.Sockets;...
16
8474
by: Robert Zurer | last post by:
Can anyone suggest the best book or part of a book on this subject. I'm looking for an in-depth treatment with examples in C# TIA Robert Zurer robert@zurer.com
2
3953
by: Rekkie | last post by:
Hi, I am trying to implement a ping client that is multithreading. The approach I have used is to create a ping class which I instantiate from the main thread and which contains a method "SendPingAsync" that calls the Send method using an asynchronous delegate, so as to queue the send method on the threadpool. Within the send method
2
370
by: Alper AKCAYOZ | last post by:
Hello, I am developing a TCP/IP Client application in Windows Forms (.NET) template. I use one MDI form as initial form where I connect to server and starts a background thread (thread_A) for receiving data. Here, I use the Socket_A By clicking a toolbarbutton, I send a command to server. If it is successfull, I opened the MDI-Child form...
16
1713
by: who be dat? | last post by:
Consider the following code which enables multithreading in an ASP.Net application I'm writing: Code in global.asx Application_start subroutine, Threadnotify is declared Globally as a new thread where it uses the address of EmailNotify below: ThreadNotify.IsBackground = True ThreadNotify.Start()
9
2446
by: tommy | last post by:
hi, i have found a example for multithreading and asp.net http://www.fawcette.com/vsm/2002_11/magazine/features/chester/ i want to speed up my website ... if my website is starting, they should build a database-connection and send a few sqls
2
3717
by: shonend | last post by:
**** sorry about the length of the message. If you can't read the whole thing and still willing to help, read the last 2 paragraphs where the main problem is described. The introduction story is mentioned to, as much clear as possible, give a picture in what environment the problems rise**** Hello experts! I would appreciate if you can...
2
1005
by: sergejusz | last post by:
Hi all, Please take a look at simple set of VB.NET classes to develop "boss-workers"- style multithreading applications. Maybe it will help somebody: http://www.sergejusz.com/boss_workers.htm Happy Christmas Serge http://www.sergejusz.com
2
2243
by: Pradnya Patil | last post by:
hi , I am trying to draw ' html div-tag ' on the screen which will resemble a rectangle through vb.net code. I want it to be drawn faster...so I introduced multithreading using Threadpool. I divided the complete drawing into 3 parts..1st will be done by main thread and other two are done in these procedures - <1LongTimeTask <2LongTimeTask2...
0
7504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7435
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7792
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6026
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.