From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-0.2 required=5.0 tests=AWL shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 1A6C21F6E0 for ; Thu, 29 Nov 2012 20:41:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id A9D612E081; Thu, 29 Nov 2012 20:41:09 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 9DE462E07D for ; Thu, 29 Nov 2012 20:41:03 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C39531F6D8; Thu, 29 Nov 2012 20:41:00 +0000 (UTC) Date: Thu, 29 Nov 2012 20:41:00 +0000 From: Eric Wong To: unicorn list Subject: Re: Combating nginx 499 HTTP responses during flash traffic scenario Message-ID: <20121129204100.GA28683@dcvr.yhbt.net> References: <20121029215312.GA29353@dcvr.yhbt.net> <20121030213719.GA6701@dcvr.yhbt.net> <20121102193803.GA17916@dcvr.yhbt.net> <20121105114850.GA15932@dcvr.yhbt.net> <20121106212338.GA4018@dcvr.yhbt.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Tom Burns wrote: > So we just finished the US Black Friday / Cyber Monday weekend running > unicorn forked with the last version of the patch I had sent you. It > worked splendidly and helped us handle huge flash sales without > increased response time over the weekend. > > Whereas in previous flash traffic scenarios we would see the number of > HTTP 499 responses grow past the number of real HTTP 200 responses, > over the weekend we saw no growth in 499s during flash sales. > > Unexpectedly the patch also helped us ward off a DoS attack where the > attackers were disconnecting immediately after making a request. That is absolutely wonderful to hear. I've amended your commit message with the above quoted portion. > I've attached the patch again, with your last comments addressed. Let > me know if there's anything else. > > Thanks again for your help in this matter. Thank _you_ for the patch, documentation and most importantly: testing with real traffic. I fixed up some minor line-wrapping, signed-off, and added your quote above to the commit message. Pushed as commit 5c700fc2cf398848ddcf71a2aa3f0f2a6563e87b to git://bogomips.org/unicorn.git I'll tag and push a 4.5.0.preview1 gem soon _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying