IHttpAsyncHandler & Request/Response Serialization...

Discussion in 'ASP .Net' started by Nikos Konstas, Jul 11, 2007.

  1. Hi,

    I'm implementing a simple protocol on top of HTTP using asynchronous
    http handlers. Session state is disabled so multiple requests from the
    same client can be processed concurrently.

    I want to keep the number of client connections to an absolute minimum
    (i.e. one connection per client). To achieve that I need to be able to
    process requests from clients as they arrive even if they already have
    outstanding requests.

    The problem I have is that if I send multiple requests using the same
    physical connection then they are serialized: request N+1 will be handed
    once the processing for request N has been completed.

    Is there a way to handle requests as they arrive? I suspect that IIS
    enforces this serialization - is it possible to turn it off?

    Thank you,
    Nikos.
    Nikos Konstas, Jul 11, 2007
    #1
    1. Advertising

  2. "Nikos Konstas" <> wrote in message
    news:...
    > Hi,
    >
    > I'm implementing a simple protocol on top of HTTP using asynchronous http
    > handlers. Session state is disabled so multiple requests from the same
    > client can be processed concurrently.
    >
    > I want to keep the number of client connections to an absolute minimum
    > (i.e. one connection per client). To achieve that I need to be able to
    > process requests from clients as they arrive even if they already have
    > outstanding requests.
    >
    > The problem I have is that if I send multiple requests using the same
    > physical connection then they are serialized: request N+1 will be handed
    > once the processing for request N has been completed.
    >
    > Is there a way to handle requests as they arrive? I suspect that IIS
    > enforces this serialization - is it possible to turn it off?


    I don't believe that IIS does any serialization. Are you sure that request
    N+1 is sent before request N has completed? Have you looked at the network
    traffic and confirmed this?
    --
    John Saunders [MVP]
    John Saunders [MVP], Jul 11, 2007
    #2
    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. buzz
    Replies:
    1
    Views:
    751
    Scott Allen
    Nov 23, 2004
  2. buzz
    Replies:
    0
    Views:
    596
  3. =?Utf-8?B?QnJhZCBRdWlubg==?=

    Handling Exceptions in an IHttpAsyncHandler Page

    =?Utf-8?B?QnJhZCBRdWlubg==?=, Apr 11, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    804
    =?Utf-8?B?QnJhZCBRdWlubg==?=
    Apr 11, 2005
  4. UL-Tomten
    Replies:
    0
    Views:
    544
    UL-Tomten
    Dec 9, 2007
  5. Alphapage

    IHttpAsyncHandler problem

    Alphapage, Feb 18, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    3,531
    Alphapage
    Feb 19, 2008
Loading...

Share This Page