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: AS14383 205.234.109.0/24 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER 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: impromptu Rainbows!/Zbatery user survey Date: Tue, 15 Jun 2010 17:56:53 -0700 Message-ID: <20100616005653.GA29720@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276650430 6970 80.91.229.12 (16 Jun 2010 01:07:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 01:07:10 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Wed Jun 16 03:07:09 2010 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.18 (2008-05-17) 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:87 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOh5w-0007Rs-DP for gclrrg-rainbows-talk@m.gmane.org; Wed, 16 Jun 2010 03:07:08 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id D1310185836B; Tue, 15 Jun 2010 21:07:07 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 901311858376 for ; Tue, 15 Jun 2010 20:56:54 -0400 (EDT) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id DA89B1F519; Wed, 16 Jun 2010 00:56:53 +0000 (UTC) Hi all, Since Rainbows! can be configured so many different ways, I'm wondering about how (or even if :) people use it in production. * Which concurrency model(s) do you use? * Which version(s) of Ruby do you use? * How much peak traffic do you get? (Off-hours traffic is entirely uninteresting) I'll understand if you're not allowed to share all (or any) of that information. If you can only share it privately, you can email me directly, too, I won't tell anyone. Behind the scenes, I've privately helped some folks deploy a few production apps using ThreadSpawn (REE 2010.01), FiberSpawn (1.9.1-p378), and EventMachine (REE 2010.01). I can't say more than that due to confidentiality issues, but I suspect WEBrick would've been more than adequate for those applications :) Even with the massive concurrency available from a single process, I generally use 2-4 worker processes per core since it both spreads GC pause time around and shortens GC time (there's less garbage in a smaller process). I'm writing a Rack application for my home network which will be disk-intensive, so I'll probably deploy using ThreadSpawn with Zbatery under 1.9 to take advantage of IO.copy_stream and splice[1]. [1] http://bogomips.org/ruby_io_splice -- 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