about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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