about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-17 02:47:47 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-17 02:52:27 +0000
commita3cf985b82f5b252434c89d7e0ec6277ac8fe596 (patch)
tree89611ea073f873d9a29b11a51cf6814445d474d5 /lib
parent0ab20cd7e10a3c9d4ddcbe2bde28542c350b4b0e (diff)
downloadraindrops-a3cf985b82f5b252434c89d7e0ec6277ac8fe596.tar.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/raindrops/middleware.rb10
-rw-r--r--lib/raindrops/watcher.rb8
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/raindrops/middleware.rb b/lib/raindrops/middleware.rb
index f75af0b..a411de7 100644
--- a/lib/raindrops/middleware.rb
+++ b/lib/raindrops/middleware.rb
@@ -59,6 +59,16 @@ require 'raindrops'
 # * active - total number of active clients on that listener
 # * queued - total number of queued (pre-accept()) clients on that listener
 #
+# = Demo Server
+#
+# There is a server running this middleware (and Watcher) at
+#  http://raindrops-demo.bogomips.org/_raindrops
+#
+# Also check out the Watcher demo at http://raindrops-demo.bogomips.org/
+#
+# The demo server is only limited to 30 users, so be sure not to abuse it
+# by using the /tail/ endpoint too much.
+#
 class Raindrops::Middleware
   attr_accessor :app, :stats, :path, :tcp, :unix # :nodoc:
 
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index 877f80a..f289970 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -86,6 +86,14 @@ require "aggregate"
 # - X-Outliers-Low - number of low outliers (hopefully many!)
 # - X-Outliers-High - number of high outliers (hopefully zero!)
 #
+# = Demo Server
+#
+# There is a server running this app at http://raindrops-demo.bogomips.org/
+# The Raindrops::Middleware demo is also accessible at
+#   http://raindrops-demo.bogomips.org/_raindrops
+#
+# The demo server is only limited to 30 users, so be sure not to abuse it
+# by using the /tail/ endpoint too much.
 class Raindrops::Watcher
   # :stopdoc:
   attr_reader :snapshot