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: Re: negative timeout in Rainbows::Fiber::Base Date: Tue, 18 Dec 2012 19:19:43 +0000 Message-ID: <20121218191943.GA7743@dcvr.yhbt.net> References: <20120831013731.GA16613@dcvr.yhbt.net> <20120905232739.GA25153@dcvr.yhbt.net> <20120922194222.GA6839@dcvr.yhbt.net> <20120928191132.GA14292@dcvr.yhbt.net> <20120928192449.GB14292@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 1355858401 27442 80.91.229.3 (18 Dec 2012 19:20:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 19:20:01 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Dec 18 20:20:15 2012 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 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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:421 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 1Tl2hz-0005S7-Ly for gclrrg-rainbows-talk@m.gmane.org; Tue, 18 Dec 2012 20:20:07 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 746352E07C; Tue, 18 Dec 2012 19:19:54 +0000 (UTC) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id E376E2E07B for ; Tue, 18 Dec 2012 19:19:45 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B47A81F42E; Tue, 18 Dec 2012 19:19:43 +0000 (UTC) "Lin Jen-Shin (godfat)" wrote: > Thank you again for the helps. Since the conference (http://rubyconf.tw/2012) > had ended, I got much more time to work with this now. No problem! > I didn't try this middleware because now I feel it might be the problem > in their application, given that it used a ton of gems which might have > some thread-safety issues. On the other hand, the person who asked > me about this telling me that it's fine to run Rainbows! with EventMachine, > but not with ThreadPool. So it is very likely that it's their issues. They probably a thread-safety issue. I've used ThreadPool/Spawn heavily myself (much more than EM) with great success. (I always verify any gems I use are thread-safe) > As for the issue on my own last time, since it only happened on an > application which we no longer run, and Rainbows! (Zbatery) runs > totally fine on our true production side, I would guess it's a Heroku > issue at that time and it might have been fixed already? *shrug* Maybe check with Heroku changelogs/news releases if they publish those. > As a result, I want to ignore this issue from now on, and move forward. > > I'll send a patch which contains the concurrency models we use on the > production site later in a new thread. Also I might start trying to implement > a new concurrency model based on celluloid-io which I believe the API > would be similar to cool.io, thus might not be hard to implement. > Hope we could get there soon :) Alright, looking forward to it. I was hoping to look at celluloid-io myself last week, but got sidetracked by something else _______________________________________________ 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