Welcome! Log In Create A New Profile

Advanced

Re: Post mortem of a HackerNews Launch & references to mistakes made with Nginx config

Joshua Zhu
December 01, 2012 03:08AM
Hi,

On Fri, Nov 30, 2012 at 11:32 PM, Cherian Thomas <cherian.in@gmail.com>wrote:

> Hello family,
>
> I wrote about some of the mistakes I made while doing a HN launch for my
> new startup Cucumbertown http://www.cucumbertown.com/
>
> http://www.gigpeppers.com/post-mortem-of-a-failed-hackernews-launch/
>
> It has references to Nginx and how making a simple mistake in config cost
> me a server crash that lasted for 20-30 minutes.
>
> *Hope this will benefit some of the new Nginx users who are trying to
> scale.*
>
> On the positive side, if not for Nginx we wouldn’t have lasted 10 minutes
> of peak traffic at 1000 users/sec+. Besides that, this blog gigpeppers.com is
> hosted on a 128MB single core prgrmr.com machine and has been serving
> peak HackerNews front page traffic for almost 17 hours nowhttp://hnrankings.info/4847665/,
> thanks to Nginx.
>
> http://news.ycombinator.com/item?id=4847665
>
> Thank you Igor, Maxim, Antonio, Velentin and all other for this software
> marvel.
>
Nice post!

I think you can use the sysguard module (
http://tengine.taobao.org/document/http_sysguard.html ) comes from Tengine.
It can protect your server when load or memory use goes too high. We have
taken it from Tengine as a separate Nginx module (
https://github.com/taobao/nginx-http-sysguard ). Hope it helps.

BTW, the sysguard module played a very important role in the 24-hour rush
when Taobao conducted $3.06 billion USD of business (
http://westiseast.co.uk/blog/taobao-sales-19-billion-bonanza/ ).

Regards,

--
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Post mortem of a HackerNews Launch & references to mistakes made with Nginx config

Cherian Thomas November 30, 2012 10:34AM

Re: Post mortem of a HackerNews Launch & references to mistakes made with Nginx config

Joshua Zhu December 01, 2012 03:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready