• Identifying main traffic sources with netstat and awk (one-liner explained)

    March 27, 2011

    This is just a short guide on how to find the main offenders in case of web server hammering. Sample of eventual output: netstat -natp | grep :80 | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n | tail      25 195.150.23.130      25 67.222.164.140   [...]

  • The Power of reddit.

    March 22, 2011

    Nothing technically significant there – but since this is the first time I’ve been exposed to such traffic – here is a shout out to people who referred here. Thanks Ruby Weekly and thanks to the Ruby Show. Another special thanks to the commenters here and on reddit – provided some very interesting technical insights. [...]

  • Ruby on Rails served by unicorn with nginx for static files and reverse proxy on Ubuntu – detailed guide.

    March 10, 2011

    Ruby, the ever-so-popular scripting language and Rails – one of the leading web application frameworks are prone to serious performance issues if not served efficiently. Enter unicorn, a high performance replacement for mongrels and such. And of course, my goto tool for all things http: nginx. This is a short step-by-step detailed guide to achieving [...]

  • Dell servers power management settings in BIOS and performance impact

    March 1, 2011

    Ok so it all started like this: Bunch of web servers, all the same model (Dell R710), all functioning properly – however two of them are faster then the others (40% lower response time AND lower load average). Average connections to all the machines was identical. Hardware: Identical Software: Identical (to eliminate this as an [...]

 
Powered by Wordpress. Theme by Shlomi Noach, openark.org
Hosted by Evolution On-line