Is multithreading possible in ASP?

Discussion in 'ASP General' started by sundar22in@gmail.com, Jul 18, 2006.

  1. Guest

    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, 2006
    #1
    1. Advertising

  2. Patrice Guest

    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

    <> a écrit dans le message de news:
    ...
    > 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
    >
    Patrice, Jul 18, 2006
    #2
    1. Advertising

  3. Guest

    Hi Patrice,
    Thanks for your reply. We are using MySQL Database. As you said iam
    exploring bulk import in MySQL...

    -Sundar
    > >
    , Jul 19, 2006
    #3
  4. Guest

    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, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leon
    Replies:
    5
    Views:
    484
    Alvin Bruney [MVP]
    Apr 11, 2004
  2. Alvin Bruney [MVP]

    Re: Multithreading in asp.net application

    Alvin Bruney [MVP], Apr 11, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    543
    Alvin Bruney [MVP]
    Apr 11, 2004
  3. who be dat?

    Safe multithreading in ASP.Net

    who be dat?, Aug 6, 2004, in forum: ASP .Net
    Replies:
    16
    Views:
    948
    Joe Fallon
    Aug 7, 2004
  4. Joe Fallon

    Re: Safe multithreading in ASP.Net

    Joe Fallon, Aug 7, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    571
    Joe Fallon
    Aug 7, 2004
  5. Replies:
    6
    Views:
    273
    James Kanze
    Apr 14, 2009
Loading...

Share This Page