Rainbows! Rack HTTP server user/dev discussion
 help / Atom feed
* [PATCH] epoll+xepoll: clarify intent of these concurrency options
@ 2013-03-01 23:33 Eric Wong
  0 siblings, 0 replies; 1+ messages in thread
From: Eric Wong @ 2013-03-01 23:33 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Via private communication, I learned of a user using XEpoll
when he should not have been.
---
 Pushed to master of git://bogomips.org/rainbows

 lib/rainbows/epoll.rb  | 2 ++
 lib/rainbows/xepoll.rb | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb
index a711186..4fbf9ba 100644
--- a/lib/rainbows/epoll.rb
+++ b/lib/rainbows/epoll.rb
@@ -19,6 +19,8 @@ require 'sendfile'
 # small enough to always be in your kernel page cache.  This concurrency
 # model may starve clients if you have slow disks and large static files.
 #
+# Do not use this if you have slow external dependencies.
+#
 # === RubyGem Requirements
 #
 # * raindrops 0.6.0 or later
diff --git a/lib/rainbows/xepoll.rb b/lib/rainbows/xepoll.rb
index a7f9d8c..1ba64f6 100644
--- a/lib/rainbows/xepoll.rb
+++ b/lib/rainbows/xepoll.rb
@@ -7,6 +7,8 @@ require 'rainbows/epoll'
 # for Ruby 1.9 users as it can avoid accept()-scalability issues on
 # multicore machines with many worker processes.
 #
+# Do not use this if you have slow external dependencies.
+#
 # === RubyGem Requirements
 #
 # * raindrops 0.6.0 or later
-- 
Eric Wong
_______________________________________________
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|threaded] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 23:33 [PATCH] epoll+xepoll: clarify intent of these concurrency options Eric Wong

Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror http://bogomips.org/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox