Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
* Is there a good example of setting up rainbows as a comet server?
@ 2012-05-16 23:51 Jason Kenney
       [not found] ` <90B5E4B1-19F0-43E0-B0FC-B13C8EE79AAF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Kenney @ 2012-05-16 23:51 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

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.

Thanks.
_______________________________________________
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there a good example of setting up rainbows as a comet server?
       [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
  1 sibling, 0 replies; 3+ messages in thread
From: Brian P O'Rourke @ 2012-05-17  0:11 UTC (permalink / raw)
  To: Rainbows! list

On Wed, May 16, 2012 at 4:51 PM, 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.

You might have a look at some of the examples from Cramp:

    http://cramp.in/

I don't know much about its internals or its state of development, but
they've made an effort to make the problem approachable to someone
unfamiliar with Rainbows!

-- 
Brian P O'Rourke
_______________________________________________
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there a good example of setting up rainbows as a comet server?
       [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
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Wong @ 2012-05-17  0:31 UTC (permalink / raw)
  To: Rainbows! list; +Cc: Jason Kenney

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-17  0:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Rainbows! Rack HTTP server user/dev discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhbt.net/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 rainbows-public rainbows-public/ https://yhbt.net/rainbows-public \
		rainbows-public@yhbt.net rainbows-public@bogomips.org rainbows-talk@rubyforge.org rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
	public-inbox-index rainbows-public

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.rainbows
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	../../../rainbows.git

AGPL code for this site: git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git