thoughts…

rants and bookmarks about programming stuff…


Speed up your sites with PageSpeed for Nginx

“Running as a module inside Nginx, ngx_pagespeed rewrites your webpages to make them faster for your users. This includes compressing images, minifying CSS and JavaScript, extending cache lifetimes, and many other web performance best practices. All of mod_pagespeed’s optimization filters are now available to Nginx users…”

http://googledevelopers.blogspot.com.br/2013/04/speed-up-your-sites-with-pagespeed-for.html

“Automatic PageSpeed optimization module for Nginx…”

https://github.com/pagespeed/ngx_pagespeed


Optimising NginX, Node.JS and networking for heavy workloads

“Used in conjunction, NginX and Node.JS are the perfect partnership for high-throughput web applications. They’re both built using event-driven design principles and are able to scale to levels far beyond the classic Y10K limitations afflicting more archaic web servers such as Apache. Out-of-the-box configuration will get you pretty far, but when you need to start serving upwards of thousands of requests per second on commodity hardware, there’s some extra tweaking you must perform to squeeze every ounce of performance out of your servers.

This article assumes you’re using NginX’s HttpProxyModule to proxy your traffic to one or more upstream node.js servers. We’ll cover tuning sysctl settings in Ubuntu 10.04 and above, as well as node.js application and NginX tuning. You may be able to achieve similar results if you’re using a Debian Linux distribution, but YMMV if you’re using something else…”

https://engineering.gosquared.com/optimising-nginx-node-js-and-networking-for-heavy-workloads


Nginx Load Balancing Basics

“Nginx is a powerful high performance web server with a lot of features that can help high load projects to overcome their problems.
Here you can see a particular feature of Nginx that allows you to load balance the traffic across multiple external and internal(on same hardware) servers.

Load Balancing can come in handy when your only server can no longer handle all the incoming requests and you need to offload some of the load to an other server.
The load balancing is implemented by the HttpUpstreamModule that most of the times is included in Nginx by default…”

http://blog.jsdelivr.com/2013/01/nginx-load-balancing-basics.html


Pushing Nginx to its limit with Lua

“At CloudFlare, Nginx is at the core of what we do. It is part of the underlying foundation of our reverse proxy service. In addition to the built-in Nginx functionalities, we use an array of custom C modules that are specific to our infrastructure including load balancing, monitoring, and caching. Recently, we’ve been adding more simple services. And they are almost exclusively written in Lua…”

http://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua


Rate Limiting With Nginx

“This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is useful, for example, if your site is hammered by a bot doing multiple requests per second and thus increasing your server load. With the HttpLimitReqModule you can define a rate limit, and if a visitor exceeds this rate, he will get a 503 error…”

http://www.howtoforge.com/rate-limiting-with-nginx


Interview with creator of NGINX Igor Sysoev

“I was born in Kazakhstan in a small town. When I was about a year, my father (he is military) moved to Alma-Ata, and I lived there for 18 years. In 1987 I graduated from high school and went to enroll in the Bauman Moscow Higher Technical School, but the first time do not succeed, and I went back to Alma-Ata, where he began as a laboratory assistant in a branch of the Institute of Advanced Studies of the USSR Ministry of Geology. There were old computers “Iskra-226” on them and I started something programmed in BASIC. And at that time in the magazine “Radio” published a series of articles, how to build your own computer “Radio 86RK,” and thanks to their reading, I had quite a good idea how the computer is designed and how it works. A first experience with computers was a little earlier: in high school I went to the Palace of Pioneers, and they put computers Yamaha KUVT (standard MSX). I remember when scored first example program, one mixed with the letter I. In general, I have it not work because of such things…”

http://www.webhostingskills.com/open_source/articles/interview_with_creator_of_nginx_igor_sysoev

Follow

Get every new post delivered to your Inbox.

Join 518 other followers