473,320 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Is multithreading possible in ASP?

Hi,
Iam working on a ASP page which updates about 10000 datas. So it takes
more than 1 hour. So how can we redure the time? Is multithreading
possible in ASP?

Kindly Help

-Sundar

Jul 18 '06 #1
3 1377
What is the DB ? For example SQL Server has bulk import capabilities. I
would start by trying to find where the time is spent and by explaining how
the update is currently done...

For example instead of reading an input file line by line and perform the
update by using a SQL statement for each line, you could bulk insert the
data into a work table and then update the final table using this work table
by using a single SQL statement... This could be quicker.

--
Patrice

<su********@gmail.coma écrit dans le message de news:
11*********************@35g2000cwc.googlegroups.co m...
Hi,
Iam working on a ASP page which updates about 10000 datas. So it takes
more than 1 hour. So how can we redure the time? Is multithreading
possible in ASP?

Kindly Help

-Sundar

Jul 18 '06 #2
Hi Patrice,
Thanks for your reply. We are using MySQL Database. As you said iam
exploring bulk import in MySQL...

-Sundar
Jul 19 '06 #3
su********@gmail.com wrote:
Hi,
Hey,
Iam working on a ASP page which updates about 10000 datas. So it takes
more than 1 hour. So how can we redure the time?
Improve the algorithm. How fast is it running -- exponential? Reduce
it to logarithmic or quadratic.

Use better data structures. Use a dictionary so you can perform
lookups in linear time, for example, rather than a list that has to
traverse some number of possible matches each time. That sort of
thing.
Is multithreading
possible in ASP?
Kinda. If you write a COM component in ATL using C++ that supports
automation, you can do all the parallelization you would want.

--

Regards,

Travis Spencer

Aug 4 '06 #4

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

Similar topics

1
by: Murad Tchary | last post by:
Hi Here is the code that I use in my app and that code works just fine: loProcessThread = New Thread(AddressOf ProcessSomething) loProcessThread.IsBackground = True loProcessThread.Start() ...
10
by: gianguz | last post by:
The question is about the possible use of inlining to improve performance in a heavy multithreading environment (200+ threads). If we have to work with applications in which threads aren't I/O...
11
by: Mark Yudkin | last post by:
The documentation is unclear (at least to me) on the permissibility of accessing DB2 (8.1.5) concurrently on and from Windows 2000 / XP / 2003, with separate transactions scope, from separate...
2
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...
2
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...
6
by: Boni | last post by:
Dear all, it seems that I have a multithreadng problem. I am not sure. class A UID as integer shared ctr as integer=0 sub new() UID=ctr ctr+=1 end sub
4
by: Boni | last post by:
Dear all, Is there some trick to put controls on a particular control but in other thread. Example: A control is a part of bigger application and application thread freezes somtimes. So a...
1
by: RSH | last post by:
Hi, I have a situation in where I have a main loop that queries a "Parent" Global database table. Based on that resultset I loop through all of the databases and the appropriate table in the...
7
darlene
by: darlene | last post by:
Hi, I need some help in creating an application in Visual C++ which should make use of MFC and multithreading. The application is supposed to consist in a number of threads representing factories....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.