Re: Asynchronous Processing Web age

From: Scott Allen (bitmask_at_[nospam)
Date: 07/11/04


Date: Sat, 10 Jul 2004 22:40:22 -0400

Off hand I'd lean towards option #1, as it tends to tie up fewer
resources on the server. ASP.NET will only process a certain number of
concurrent requests, and even though that number is configurable it is
hard to tie up threads and connections while waiting around for
"stuff" to finish up or possibly time out.

The disclaimer is, I don't know how many users you need to support, or
how long the 3 asynch processes need to complete, so #1 may not be THE
optimal solution for your web application, but it is a conservative
approach.

--
Scott
http://www.OdeToCode.com
On Sat, 10 Jul 2004 19:48:54 -0400, "Thomas Nielsen" <tni@nc.rr.com>
wrote:
>Hi,
>
>I need to make a web page that wait for 3 asynchronous processes to finish.
>
>So I am considering these options
>
>1) Poll the status of the processes from the web page using the "REFRESH"
>metatag in HTML.
>2) Synchronously call a monitor function on the server that poll the status
>of the processes, and returns when they are done.
>
>Are there other options? Which of the two can you recommend?
>
>- Thomas
>


Relevant Pages

  • Re: Best solution for mail server?
    ... stop their own automatic poll, and restart it, if they want to. ... Clearly that takes cooperation from the server you're polling. ... daemons as they see fit, on their homespace on the server. ...
    (Fedora)
  • RE: BizTalk 2006 FILE adapter polling interval
    ... For your scenario, if you put batch size to 1, then, system will get read ... immediately poll the location again. ... For Biztalk server 2006, there is a new property on the FILE adapter ...
    (microsoft.public.biztalk.general)
  • Re: polling algorithm
    ... Here the synchronisation is lost, but the poll value remains at 1024. ... The poll value is 1024 until the next poll, and then the poll value is decreased to 64 again, and the synchronisation is back. ... Even if the server does not answer a poll ...
    (comp.protocols.time.ntp)
  • Simple ntp setup, but network issue
    ... I am still working on diagnosing my problem communicating with an ntp server. ... The address 192.168.112.10 is my dsl modem which serves as my network gateway, bison is my linux server. ... poll 4 prec -6 ...
    (comp.protocols.time.ntp)
  • Re: So, Poll is not scalable... what to do?
    ... and never need to use poll(). ... your operating system supports is at http://kegel.com/rn/ ... the resulting ftp server scales very nicely (except for the ... sys_epoll is the equivalent on linux. ...
    (Linux-Kernel)