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 [...]
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, 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 [...]
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 [...]