From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
To: Rainbows! list <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Cc: Jason Kenney <bloodycelt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: Is there a good example of setting up rainbows as a comet server?
Date: Thu, 17 May 2012 00:31:20 +0000 [thread overview]
Message-ID: <20120517003120.GA13065@dcvr.yhbt.net> (raw)
In-Reply-To: <90B5E4B1-19F0-43E0-B0FC-B13C8EE79AAF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Jason Kenney <bloodycelt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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
prev parent reply other threads:[~2012-05-17 0:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 23:51 Is there a good example of setting up rainbows as a comet server? Jason Kenney
[not found] ` <90B5E4B1-19F0-43E0-B0FC-B13C8EE79AAF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-05-17 0:11 ` Brian P O'Rourke
2012-05-17 0:31 ` Eric Wong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://yhbt.net/rainbows/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120517003120.GA13065@dcvr.yhbt.net \
--to=normalperson-rmlxzr9ms24@public.gmane.org \
--cc=bloodycelt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
http://yhbt.net/rainbows.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).