From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER,TVD_RCVD_IP shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: [PATCH] epoll+xepoll: clarify intent of these concurrency options Date: Fri, 1 Mar 2013 23:33:44 +0000 Message-ID: <20130301233344.GA2864@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362181371 407 80.91.229.3 (1 Mar 2013 23:42:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Mar 2013 23:42:51 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Sat Mar 02 00:43:14 2013 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:459 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UBZbc-0003RB-TK for gclrrg-rainbows-talk@m.gmane.org; Sat, 02 Mar 2013 00:43:13 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 5E3092E0A1; Fri, 1 Mar 2013 23:42:52 +0000 (UTC) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 05BEF2E076 for ; Fri, 1 Mar 2013 23:33:46 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C54F844C007; Fri, 1 Mar 2013 23:33:44 +0000 (UTC) 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