Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Google Finance Comet. Google Finance now shows live stock quotes, updated by Comet.

Tagged , , , ,

3 comments

  1. Their Comet system is broken because they are using the same domain. So when you hit the maximum simultaneous connections, your browser will refuse to load you any single page/content from finance.google.com anymore, pretty silly.

    Bayeux document has a little explaination on that issue: http://svn.cometd.com/trunk/bayeux/bayeux.html#toc _77

    Facebook chat handles this pretty well with sub-domains that get incremented: 0, 1, 2, 3, ... for each new tab/window/frame open.

    Yoan - 4th June 2008 10:59 - #

  2. You sure they're not just using a smart request bus to multiplex those connections? If you've actually seen it break then fair enough, but I'd be surprised if they hadn't accounted for that issue.

    anon - 4th June 2008 13:34 - #

  3. It's one connection per page, open 8 pages in Firefox (2.**) and then try opening another one. You can multiplex connection inside a same page yes, the golden rule is to not consume more than 2 at the same time. But there are no mechanism to do that across frames, tabs, windows.

    It surprized me as well.

    Yoan - 4th June 2008 17:11 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site