Results > Posts Tagged With > nginx

Mar 4
Posted by mark.

How to limit website visitor bandwidth by country

2

This technique is great if you have no customers from countryX but are being targeted by a DoS, unwanted crawlers, bots, scrapers and other baddies. Please don’t use this to discriminate against less profitable countries. The web should be open for all. Thanks.
If you’re not already using Nginx, you should get it even if you already have a great web server. Put it in front and get it to act as a reverse proxy.
First grab this perl script which you …

Read on »

Dec 1
Post Image Posted by mark.

How to handle 1000’s of concurrent users on a 360MB VPS

4

There has been some recent confusion about how much memory you need in a web server to handle a huge number of concurrent requests. I also made a performance claim on the STS list that got me an unusual number of private emails.
Here’s how you run a highly concurrent website on a shoe-string budget:
The first thing you’ll do is get a Linode server because they have the fastest CPU and disk.
Install Apache with your web application running under mod_php, mod_perl …

Read on »