|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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 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. -- Show quotePatrice <sundar2***@gmail.com> a écrit dans le message de news: 1153230787.323204.29***@35g2000cwc.googlegroups.com... > 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 > Hi Patrice,
Thanks for your reply. We are using MySQL Database. As you said iam exploring bulk import in MySQL... -Sundar Show quote > > sundar2***@gmail.com wrote:
> Hi, Hey,> Iam working on a ASP page which updates about 10000 datas. So it takes Improve the algorithm. How fast is it running -- exponential? Reduce> more than 1 hour. So how can we redure the time? 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 Kinda. If you write a COM component in ATL using C++ that supports> possible in ASP? automation, you can do all the parallelization you would want. -- Regards, Travis Spencer |
|||||||||||||||||||||||