From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER,TVD_RCVD_IP shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Is there a good example of setting up rainbows as a comet server? Date: Thu, 17 May 2012 00:31:20 +0000 Message-ID: <20120517003120.GA13065@dcvr.yhbt.net> References: <90B5E4B1-19F0-43E0-B0FC-B13C8EE79AAF@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337214876 433 80.91.229.3 (17 May 2012 00:34:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 May 2012 00:34:36 +0000 (UTC) Cc: Jason Kenney To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu May 17 02:34:35 2012 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: <90B5E4B1-19F0-43E0-B0FC-B13C8EE79AAF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:350 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SUofn-0007ea-9j for gclrrg-rainbows-talk@m.gmane.org; Thu, 17 May 2012 02:34:31 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id DF2483B002; Thu, 17 May 2012 00:34:29 +0000 (UTC) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 9D5E43AFFC for ; Thu, 17 May 2012 00:31:21 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C832D1F7BB; Thu, 17 May 2012 00:31:20 +0000 (UTC) Jason Kenney wrote: > Someone on stackoverflow suggested using rainbows instead of > juggernaut/node.js for sending push notifications via comet. But I > can't seem to find anything about setting something up like that. I don't pay attention to the JavaScript side of Comet, but the Raindrops::Watcher application uses infinite HTTP streaming. It's running here: http://raindrops-demo.bogomips.org/ It's all packaged in the raindrops repo (zbatery is interchangeable with rainbows in the configs here:) git clone git://bogomips.org/raindrops cd raindrops/examples/ You can run "curl http://raindrops-demo.bogomips.org/tail/0.0.0.0%3A9418.txt" in one terminal and run the git clone above on a slow connection to see yourself :) _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying