<?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: Simple Web Chat with Meteor Comet Server</title> <atom:link href="http://javascriptly.com/2008/09/comet-chat-app-meteor-server/feed/" rel="self" type="application/rss+xml" /><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/</link> <description>JavaScript Techniques, Tricks and News</description> <lastBuildDate>Sun, 31 Jan 2010 15:08:20 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.1</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: cappadochian</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-165</link> <dc:creator>cappadochian</dc:creator> <pubDate>Sat, 12 Sep 2009 11:48:54 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-165</guid> <description>hi!i tried reverse proxy, restarted apache and i didn&#039;t see the magic work...Sat Sep 12 15:49:07 2009        debug   New Meteor::Subscriber for 127.0.0.1 Sat Sep 12 15:49:07 2009        debug   Meteor::Document: Request received for &#039;/&#039; Sat Sep 12 15:49:07 2009        info    document     /  0       404 Sat Sep 12 15:49:07 2009        debug   Will close Meteor::Subscriber for 127.0.0.1 when write buffer empty Sat Sep 12 15:49:07 2009        debug   Closed Meteor::Subscriber for 127.0.0.1and where i had my starting page there&#039;s only this:Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.--------------------------------------------------------------------------------Apache/2.2.3 (CentOS) Server at 192.168.1.102 Port 80any help would be appreciated.thanks</description> <content:encoded><![CDATA[<p>hi!</p><p>i tried reverse proxy, restarted apache and i didn&#8217;t see the magic work&#8230;</p><p>Sat Sep 12 15:49:07 2009        debug   New Meteor::Subscriber for 127.0.0.1<br /> Sat Sep 12 15:49:07 2009        debug   Meteor::Document: Request received for &#8216;/&#8217;<br /> Sat Sep 12 15:49:07 2009        info    document     /  0       404<br /> Sat Sep 12 15:49:07 2009        debug   Will close Meteor::Subscriber for 127.0.0.1 when write buffer empty<br /> Sat Sep 12 15:49:07 2009        debug   Closed Meteor::Subscriber for 127.0.0.1</p><p>and where i had my starting page there&#8217;s only this:</p><p>Service Temporarily Unavailable<br /> The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p>Apache/2.2.3 (CentOS) Server at 192.168.1.102 Port 80</p><p>any help would be appreciated.</p><p>thanks</p> ]]></content:encoded> </item> <item><title>By: Joe</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-118</link> <dc:creator>Joe</dc:creator> <pubDate>Sat, 24 Jan 2009 05:33:36 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-118</guid> <description>Thanks for the response Andrew,  Would you mind going into a little more detail as to how Meteor does this garbage collection or where I can find some more information about how it works? Thanks.</description> <content:encoded><![CDATA[<p>Thanks for the response Andrew,  Would you mind going into a little more detail as to how Meteor does this garbage collection or where I can find some more information about how it works? Thanks.</p> ]]></content:encoded> </item> <item><title>By: Andrew</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-116</link> <dc:creator>Andrew</dc:creator> <pubDate>Mon, 19 Jan 2009 11:51:40 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-116</guid> <description>Jimmy - thanks for an excellent writeup.  Regarding your &#039;fourth way&#039; of co-locating Meteor and Apache on the same host with mod_proxy - yes, that does work, but it&#039;s not recommended, because the very reason for using Meteor in the first place is that it&#039;s optimised for handling lots of concurrent connections, whereas Apache is optimised for dealing with lots of *sequential* connections, closing them as quickly as possible (though it does also handle several at once, of course).  So if you put Apache in front of Meteor, you lose much of the benefit of Meteor.  At low volumes however, it will certainly work.@Joe: The problem with IE7 is that it has an annoying habit of keeping connections open after the page has been destroyed - so you could have navigated away from the Comet-powered site, but there are still comet connections persisting in memory.  You then rapidly encounter the two-connection limit.  The solution to this is better garbage collection, which was implemented in Meteor thanks to a contributed solution several releases ago.@Baderous: Meteor has no concept of authentication, but you could easily set up very obscure channel names, and there is no limit on the number of channels you can create, nor the number you can subscribe to at the same time.</description> <content:encoded><![CDATA[<p>Jimmy &#8211; thanks for an excellent writeup.  Regarding your &#8216;fourth way&#8217; of co-locating Meteor and Apache on the same host with mod_proxy &#8211; yes, that does work, but it&#8217;s not recommended, because the very reason for using Meteor in the first place is that it&#8217;s optimised for handling lots of concurrent connections, whereas Apache is optimised for dealing with lots of *sequential* connections, closing them as quickly as possible (though it does also handle several at once, of course).  So if you put Apache in front of Meteor, you lose much of the benefit of Meteor.  At low volumes however, it will certainly work.</p><p>@Joe: The problem with IE7 is that it has an annoying habit of keeping connections open after the page has been destroyed &#8211; so you could have navigated away from the Comet-powered site, but there are still comet connections persisting in memory.  You then rapidly encounter the two-connection limit.  The solution to this is better garbage collection, which was implemented in Meteor thanks to a contributed solution several releases ago.</p><p>@Baderous: Meteor has no concept of authentication, but you could easily set up very obscure channel names, and there is no limit on the number of channels you can create, nor the number you can subscribe to at the same time.</p> ]]></content:encoded> </item> <item><title>By: BasTijs</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-84</link> <dc:creator>BasTijs</dc:creator> <pubDate>Fri, 24 Oct 2008 10:11:06 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-84</guid> <description>Any idea on how to solve the IE refresh problem? Maybe with flush()?</description> <content:encoded><![CDATA[<p>Any idea on how to solve the IE refresh problem? Maybe with flush()?</p> ]]></content:encoded> </item> <item><title>By: Jimmy Vu</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-60</link> <dc:creator>Jimmy Vu</dc:creator> <pubDate>Fri, 03 Oct 2008 05:16:49 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-60</guid> <description>@Baderous Meteor server does not support private channels (yet) but I think creating something random like UUID is OK.</description> <content:encoded><![CDATA[<p>@Baderous Meteor server does not support private channels (yet) but I think creating something random like UUID is OK.</p> ]]></content:encoded> </item> <item><title>By: Baderous</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-59</link> <dc:creator>Baderous</dc:creator> <pubDate>Thu, 02 Oct 2008 17:49:55 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-59</guid> <description>Any idea how to implement private channels with this? Maybe creating random channel names that only the client and the server is aware of?Nice article by the way. I came up with this exactly solution myself.</description> <content:encoded><![CDATA[<p>Any idea how to implement private channels with this? Maybe creating random channel names that only the client and the server is aware of?</p><p>Nice article by the way. I came up with this exactly solution myself.</p> ]]></content:encoded> </item> <item><title>By: Joe</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-58</link> <dc:creator>Joe</dc:creator> <pubDate>Mon, 29 Sep 2008 01:36:27 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-58</guid> <description>It seems the problem is being caused by IE&#039;s strict connection limiting.  Every website is only allowed two simultaneous to any web browser via an RFC standard.  For some reason (IE sucks) IE isn&#039;t closing these connections on page close, even if you manually call the ajax.abort() function they still aren&#039;t closed.  The one solution I have found is to have the client force the connection to reload.  For example, if you put some code in the window.onload() function to post a message like &quot;joe has entered the chat&quot; solves this problem be forcing the connection to close and reopen.  This isn&#039;t a perfect solution but at least IE won&#039;t hang anymore.</description> <content:encoded><![CDATA[<p>It seems the problem is being caused by IE&#8217;s strict connection limiting.  Every website is only allowed two simultaneous to any web browser via an RFC standard.  For some reason (IE sucks) IE isn&#8217;t closing these connections on page close, even if you manually call the ajax.abort() function they still aren&#8217;t closed.  The one solution I have found is to have the client force the connection to reload.  For example, if you put some code in the window.onload() function to post a message like &#8220;joe has entered the chat&#8221; solves this problem be forcing the connection to close and reopen.  This isn&#8217;t a perfect solution but at least IE won&#8217;t hang anymore.</p> ]]></content:encoded> </item> <item><title>By: Joe</title><link>http://javascriptly.com/2008/09/comet-chat-app-meteor-server/comment-page-1/#comment-56</link> <dc:creator>Joe</dc:creator> <pubDate>Thu, 25 Sep 2008 02:49:03 +0000</pubDate> <guid isPermaLink="false">http://javascriptly.com/?p=43#comment-56</guid> <description>I have been looking into several different comet applications and so far, including this example, they work perfectly in IE7 until you refresh the page about 2-3 times.  After then the page just infinitely loads and the chat doesn&#039;t show up.  If anyone has any ideas as to why this is happening in IE I&#039;d love to hear it.</description> <content:encoded><![CDATA[<p>I have been looking into several different comet applications and so far, including this example, they work perfectly in IE7 until you refresh the page about 2-3 times.  After then the page just infinitely loads and the chat doesn&#8217;t show up.  If anyone has any ideas as to why this is happening in IE I&#8217;d love to hear it.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 1/14 queries in 0.166 seconds using disk

Served from: quangvhg.virtual.vps-host.net @ 2010-03-20 15:24:26 -->