<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IFrame + Script Tags = Portable Comet</title>
	<atom:link href="http://ajaxian.com/archives/iframe-script-tags-portable-comet/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Michael Carter</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-253653</link>
		<dc:creator>Michael Carter</dc:creator>
		<pubDate>Wed, 08 Aug 2007 16:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-253653</guid>
		<description>Orbited: http://brbx.com/orbited

Orbited is a comet daemon that works on many platforms for many languages. It supports comet style long-polling as well as Iframe streaming. It also has a clear scaling path.</description>
		<content:encoded><![CDATA[<p>Orbited: <a href="http://brbx.com/orbited" rel="nofollow">http://brbx.com/orbited</a></p>
<p>Orbited is a comet daemon that works on many platforms for many languages. It supports comet style long-polling as well as Iframe streaming. It also has a clear scaling path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David law</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-252447</link>
		<dc:creator>David law</dc:creator>
		<pubDate>Mon, 09 Jul 2007 05:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-252447</guid>
		<description>Itâ€™s a fair pointâ€¦Alexâ€™s original Comet article doesnâ€™t only talk about streaming, but also about a distributed event model (as in Twisted). I guess the JSON-P method is a kind of Comet-lite.</description>
		<content:encoded><![CDATA[<p>Itâ€™s a fair pointâ€¦Alexâ€™s original Comet article doesnâ€™t only talk about streaming, but also about a distributed event model (as in Twisted). I guess the JSON-P method is a kind of Comet-lite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Office &#187; Ajaxian Office</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-57105</link>
		<dc:creator>Office &#187; Ajaxian Office</dc:creator>
		<pubDate>Mon, 31 Jul 2006 13:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-57105</guid>
		<description>[...] Ajaxian OfficeTuesday, June 6th, 2006. IFrame + Script Tags = Portable Comet. Category: XmlHttpRequest , Examples , IE , Office , Comet. In a recent post , I explain the difficulties of Comet (Streaming/Push) in IE [...]</description>
		<content:encoded><![CDATA[<p>[...] Ajaxian OfficeTuesday, June 6th, 2006. IFrame + Script Tags = Portable Comet. Category: XmlHttpRequest , Examples , IE , Office , Comet. In a recent post , I explain the difficulties of Comet (Streaming/Push) in IE [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kvark</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-36443</link>
		<dc:creator>Kvark</dc:creator>
		<pubDate>Tue, 27 Jun 2006 11:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-36443</guid>
		<description>I purly love this aproach, but im looking for a demo that uses same connection to send and revice data, is this possible? Anyone seen a example of this?

Im looking for an example:

Explenation:
1.Create a long lived http connection, attach a listener on server side for incoming msg (preferable java or php).

2.Click on a button on the page, that uses the already establish connection and send &quot;hi&quot; to the server, the server responed on the same connection channel with &quot;hello there&quot;.</description>
		<content:encoded><![CDATA[<p>I purly love this aproach, but im looking for a demo that uses same connection to send and revice data, is this possible? Anyone seen a example of this?</p>
<p>Im looking for an example:</p>
<p>Explenation:<br />
1.Create a long lived http connection, attach a listener on server side for incoming msg (preferable java or php).</p>
<p>2.Click on a button on the page, that uses the already establish connection and send &#8220;hi&#8221; to the server, the server responed on the same connection channel with &#8220;hello there&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-30914</link>
		<dc:creator>Gregory</dc:creator>
		<pubDate>Tue, 20 Jun 2006 01:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-30914</guid>
		<description>Nutz - I don&#039;t remember if I tried it back when I played with this idea, so I tried it again, and alas, it makes no difference in the memory usage. Whether you remove every script tag as soon as it&#039;s processed or not, the memory keeps growing.</description>
		<content:encoded><![CDATA[<p>Nutz &#8211; I don&#8217;t remember if I tried it back when I played with this idea, so I tried it again, and alas, it makes no difference in the memory usage. Whether you remove every script tag as soon as it&#8217;s processed or not, the memory keeps growing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nutz</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-29114</link>
		<dc:creator>Nutz</dc:creator>
		<pubDate>Sat, 17 Jun 2006 06:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-29114</guid>
		<description>Gregory - true, however a call to a Javascript function to loop through the DOM to remove those script tags that have arrived from the server should sort that.</description>
		<content:encoded><![CDATA[<p>Gregory &#8211; true, however a call to a Javascript function to loop through the DOM to remove those script tags that have arrived from the server should sort that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-27498</link>
		<dc:creator>Gregory</dc:creator>
		<pubDate>Thu, 15 Jun 2006 03:38:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-27498</guid>
		<description>One big problem with pushlets (or IFrame and scripts tags) is that the browser (at least IE) reads everything into memory, never releases it and eventually slows down PC to a halt. After all its just one huge page for all it knows.
It may work well for low traffic and/or short-lived sessions, but leave it for a few days or try it on a high volume data stream and you&#039;ll see what I mean.</description>
		<content:encoded><![CDATA[<p>One big problem with pushlets (or IFrame and scripts tags) is that the browser (at least IE) reads everything into memory, never releases it and eventually slows down PC to a halt. After all its just one huge page for all it knows.<br />
It may work well for low traffic and/or short-lived sessions, but leave it for a few days or try it on a high volume data stream and you&#8217;ll see what I mean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tal Broda</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-23955</link>
		<dc:creator>Tal Broda</dc:creator>
		<pubDate>Sat, 10 Jun 2006 19:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-23955</guid>
		<description>David,

If CGI:IRC is using push, how come i don&#039;t see the loading indication for the lifetime of the page? How did you get around that?

Thanks,
Tal.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>If CGI:IRC is using push, how come i don&#8217;t see the loading indication for the lifetime of the page? How did you get around that?</p>
<p>Thanks,<br />
Tal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Leadbeater</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21333</link>
		<dc:creator>David Leadbeater</dc:creator>
		<pubDate>Wed, 07 Jun 2006 22:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21333</guid>
		<description>This is the exact technique that &lt;a href=&quot;http://cgiirc.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;CGI:IRC&lt;/a&gt; uses. It has worked pretty well in most browsers (and it has hardly needed changing since I wrote in late 2002!).</description>
		<content:encoded><![CDATA[<p>This is the exact technique that <a href="http://cgiirc.sourceforge.net/" rel="nofollow">CGI:IRC</a> uses. It has worked pretty well in most browsers (and it has hardly needed changing since I wrote in late 2002!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Gahl</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21331</link>
		<dc:creator>Ryan Gahl</dc:creator>
		<pubDate>Wed, 07 Jun 2006 22:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21331</guid>
		<description>...and you&#039;re all just fine with Ajaxian&#039;s commenting system?

At the very least you could all do your normal post, and then make another post pointing out that the commenting system sucks. I think then they might get it. Maybe. Probably not, it&#039;s been broken forever so why would they fix it now?

Oh well, at any rate I can take comfort in knowing where I can find a completely blank page on the internet. Just gotta make a post on Ajaxian.</description>
		<content:encoded><![CDATA[<p>&#8230;and you&#8217;re all just fine with Ajaxian&#8217;s commenting system?</p>
<p>At the very least you could all do your normal post, and then make another post pointing out that the commenting system sucks. I think then they might get it. Maybe. Probably not, it&#8217;s been broken forever so why would they fix it now?</p>
<p>Oh well, at any rate I can take comfort in knowing where I can find a completely blank page on the internet. Just gotta make a post on Ajaxian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Roussey</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21322</link>
		<dc:creator>Steven Roussey</dc:creator>
		<pubDate>Wed, 07 Jun 2006 21:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21322</guid>
		<description>Keeping sockets open in Java is much easier to do than, say, PHP, where you are totally out of luck (well, you could use both, I suppose). I&#039;m not sure what Ruby and others provide.</description>
		<content:encoded><![CDATA[<p>Keeping sockets open in Java is much easier to do than, say, PHP, where you are totally out of luck (well, you could use both, I suppose). I&#8217;m not sure what Ruby and others provide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Joldersma</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21308</link>
		<dc:creator>Ben Joldersma</dc:creator>
		<pubDate>Wed, 07 Jun 2006 21:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21308</guid>
		<description>Jeremy,

It depends how the connections are managed.  If you are allocating a spare thread for them, then polling will perform better.  But if you implement it correctly, with minimal resources allocated, you should be able to keep several thousand sockets open without too much problem.

I haven&#039;t actually done it mind you -- but in theory that&#039;s how it should work ;)</description>
		<content:encoded><![CDATA[<p>Jeremy,</p>
<p>It depends how the connections are managed.  If you are allocating a spare thread for them, then polling will perform better.  But if you implement it correctly, with minimal resources allocated, you should be able to keep several thousand sockets open without too much problem.</p>
<p>I haven&#8217;t actually done it mind you &#8212; but in theory that&#8217;s how it should work ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21279</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Wed, 07 Jun 2006 19:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21279</guid>
		<description>Does anyone have any data on server performance with polling vs. comet to push data from a server?  On a production system with 100&#039;s of users ould it be better to do an AJAX request every 5 seconds to look for an update from the server or do the iframe hack to keep a connection open?  The Comet/iframe method worries me if there are 100&#039;s of open connections to the server that aren&#039;t closing.  But at the same time, pounding the server by 100&#039;s of users every 5 seconds doesn&#039;t seem happy either.  What are your thoughts on performance between these two methods?</description>
		<content:encoded><![CDATA[<p>Does anyone have any data on server performance with polling vs. comet to push data from a server?  On a production system with 100&#8242;s of users ould it be better to do an AJAX request every 5 seconds to look for an update from the server or do the iframe hack to keep a connection open?  The Comet/iframe method worries me if there are 100&#8242;s of open connections to the server that aren&#8217;t closing.  But at the same time, pounding the server by 100&#8242;s of users every 5 seconds doesn&#8217;t seem happy either.  What are your thoughts on performance between these two methods?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Office &#187; Office Furniture &#124; Office Chairs &#124; Home Office Furniture</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21236</link>
		<dc:creator>Office &#187; Office Furniture &#124; Office Chairs &#124; Home Office Furniture</dc:creator>
		<pubDate>Wed, 07 Jun 2006 17:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21236</guid>
		<description>[...] Ajaxian OfficeTheir vision is to be a complete, fully functional MS Office clone on-line. They let you import Excel and Word and other formats into their products. Michael Arrington: You guys have a reputation of [...]</description>
		<content:encoded><![CDATA[<p>[...] Ajaxian OfficeTheir vision is to be a complete, fully functional MS Office clone on-line. They let you import Excel and Word and other formats into their products. Michael Arrington: You guys have a reputation of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Gahl</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21231</link>
		<dc:creator>Ryan Gahl</dc:creator>
		<pubDate>Wed, 07 Jun 2006 17:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21231</guid>
		<description>@Tom and @Ajaxian: Yep, they NEED to fix the commenting system... I can&#039;t believe this is still not working properly. That, and the shear volume of worthless posts is getting me pretty close to deleting this feed.</description>
		<content:encoded><![CDATA[<p>@Tom and @Ajaxian: Yep, they NEED to fix the commenting system&#8230; I can&#8217;t believe this is still not working properly. That, and the shear volume of worthless posts is getting me pretty close to deleting this feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; Internet Explorer (IE) Gets Hit by a Comet :: Nate Ritter ::</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21182</link>
		<dc:creator>&#187; Internet Explorer (IE) Gets Hit by a Comet :: Nate Ritter ::</dc:creator>
		<pubDate>Wed, 07 Jun 2006 15:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21182</guid>
		<description>[...] Ajaxian has a great little post (&#8221;IFrame + Script Tags = Portable Comet&#8220;) about IE and Comet and how they don&#8217;t play nice together yet. But, they also mention that there is a (hack hack) workaround. It uses IFrame and script tags. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ajaxian has a great little post (&#8221;IFrame + Script Tags = Portable Comet&#8220;) about IE and Comet and how they don&#8217;t play nice together yet. But, they also mention that there is a (hack hack) workaround. It uses IFrame and script tags. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-21165</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Wed, 07 Jun 2006 14:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-21165</guid>
		<description>It&#039;s funny how the popularity of the web browsers as an application development environment brings back old problems as new. I think i solved this in 2000. In any case, if you&#039;re using Javeline TelePort or Javeline FrameWork this solution is in there.</description>
		<content:encoded><![CDATA[<p>It&#8217;s funny how the popularity of the web browsers as an application development environment brings back old problems as new. I think i solved this in 2000. In any case, if you&#8217;re using Javeline TelePort or Javeline FrameWork this solution is in there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-20949</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 07 Jun 2006 02:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-20949</guid>
		<description>I did something similar, Scott, using a hand-rolled web server that multiplexed connections to avoid running a huge number of CGI processes just to send data out.  There was a &quot;control socket&quot; that other local processes could connect to &quot;dispatch&quot; additional data to any one (or all) of the listening clients.

Not everything needs to be done using CGI and stateless HTTP -- use HTTP to initiate the connection, (since that&#039;s what the browser talks), but then hand the whole thing off to custom code.</description>
		<content:encoded><![CDATA[<p>I did something similar, Scott, using a hand-rolled web server that multiplexed connections to avoid running a huge number of CGI processes just to send data out.  There was a &#8220;control socket&#8221; that other local processes could connect to &#8220;dispatch&#8221; additional data to any one (or all) of the listening clients.</p>
<p>Not everything needs to be done using CGI and stateless HTTP &#8212; use HTTP to initiate the connection, (since that&#8217;s what the browser talks), but then hand the whole thing off to custom code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Schiller</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-20932</link>
		<dc:creator>Scott Schiller</dc:creator>
		<pubDate>Wed, 07 Jun 2006 01:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-20932</guid>
		<description>Pardon the double-comment. Here&#039;s a link directly to the code involved, with some technical explanation.

http://www.schillmania.com/projects/rpc-js/rpc-js.js

I think Google is using a somewhat similar approach with Gmail (as Alex Russell covered several months ago,) and while it works, I think it&#039;s a crazy hack. A technical feat mind you, but still - actually being used in a large-production site? - woah! :)

(Then again, we used to say that about Javascript animation.)</description>
		<content:encoded><![CDATA[<p>Pardon the double-comment. Here&#8217;s a link directly to the code involved, with some technical explanation.</p>
<p><a href="http://www.schillmania.com/projects/rpc-js/rpc-js.js" rel="nofollow">http://www.schillmania.com/projects/rpc-js/rpc-js.js</a></p>
<p>I think Google is using a somewhat similar approach with Gmail (as Alex Russell covered several months ago,) and while it works, I think it&#8217;s a crazy hack. A technical feat mind you, but still &#8211; actually being used in a large-production site? &#8211; woah! :)</p>
<p>(Then again, we used to say that about Javascript animation.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Schiller</title>
		<link>http://ajaxian.com/archives/iframe-script-tags-portable-comet/comment-page-1#comment-20931</link>
		<dc:creator>Scott Schiller</dc:creator>
		<pubDate>Wed, 07 Jun 2006 01:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1255#comment-20931</guid>
		<description>I did some fiddling around with this a while back, trying to do a multi-client chat thing with a broadcast socks server. It worked, but the whole thing is pretty experimental. I tried to explain the technique as well. Enter some junk name and then up your font size. ;)

http://www.schillmania.com/projects/rpc-js/</description>
		<content:encoded><![CDATA[<p>I did some fiddling around with this a while back, trying to do a multi-client chat thing with a broadcast socks server. It worked, but the whole thing is pretty experimental. I tried to explain the technique as well. Enter some junk name and then up your font size. ;)</p>
<p><a href="http://www.schillmania.com/projects/rpc-js/" rel="nofollow">http://www.schillmania.com/projects/rpc-js/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

