• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "comet and server push"

Collapse

  • scotspine
    replied
    that's about the size of it. [initial] tests do show a sig. drop in server load under most conditions and it looks as though it will be a good-ish fit for what i'm doing.
    oddly enough, vsj dropped through my letterbox on saturday and had a good article on it, including coverage of various implementations, including long-polling. i couldn't put it down

    Leave a comment:


  • VectraMan
    replied
    It looks like a bit of a half-way house. The server is fudged to artificially keep the connection open, which means it then can send messages to the client without the client having to poll.

    But the connection is dropped periodically (the article says 5 seconds) so that the first n clients don't permanently tie up the server's threadpool and available sockets.

    So it is a mostly push connection. As long as the event happens whilst the client has an active connection, it's low latency. If the event happens whilst the client is reconnecting or is having to wait for a connection, then it's no better than polling.

    Leave a comment:


  • DSW
    replied
    It sounds interesting, but I don't understand how it can work, it must involve the client polling as that is the only way that http is going to work. At which point it basically just AJAX?

    Leave a comment:


  • scotspine
    replied
    it's an event based model which essentially punts data up to the client only when there is new data to punt up.

    Leave a comment:


  • DimPrawn
    replied
    The term COMET is new to me.

    Found this on CodeProject http://www.codeproject.com/KB/aspnet/CometAsync.aspx

    Not sure how it is really a push? Sounds more like asynchronous polling from the browser to the server on an open connection.

    How this differs/ is better than ajax webservices and timers on the browser I'm not clear about.

    Leave a comment:


  • scotspine
    started a topic comet and server push

    comet and server push

    hi. i was wondering if anyone has come across, or better, used the comet server push model, esp the implementation that uses IHttpAsyncHandler. if so, any comments?
    thanks...
Working...
X