Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

13 items tagged “nginx”

Load Balancer Update. WordPress.com has switched from Pound to nginx for load balancing, resulting in a significant drop in CPU usage. I’ve been using nginx on my little VPS for over a year now with no complaints, nice to know it scales up as well as down. 1 1st May 2008, 10:06 am

Nginx and Memcached, a 400% boost! Ilya Grigorik wrote up my current favourite nginx trick—you set nginx to check memcached for a cache entry matching the current URL on every hit, then invalidate your cache by pushing a new cache record straight in to memcached from your application server. 0 11th February 2008, 10:05 pm

NginxMemcachedModule. nginx can be set up to directly serve a URL from memcache if the corresponding cache key is set, and fall back to a backend application server otherwise. Application servers can then write directly to memcache when content needs to be cached or goes stale. 0 15th December 2007, 1:59 am

A Fair Proxy Balancer for Nginx and Mongrel. nginx uses round robin for proxying by default; this extension module ensures requests are queued up and sent through to backend mongrel servers that aren’t currently busy. I don’t see any reason this wouldn’t work with servers other than mongrel. 0 9th December 2007, 2:57 pm

mod_proxy_balancer gets a thumbs up. Chris Miles explains mod_proxy_balance’s hot spare feature. nginx doesn’t appear to support this, unless I’ve missed something in the documentation. 1 20th July 2007, 5:44 pm

Just what web server should be sitting in front of my Rails application? Includes some interesting notes about Varnish, PHK’s high performance, highly configurable front-end caching server (essentially a much more modern version of Squid). 0 17th July 2007, 1:29 pm

Emiller’s Balls-Out Guide to Nginx Module Development. Extremely detailed guide to extending the nginx Web server using C. 0 29th May 2007, 7:38 pm

oxfordgeeks.net

Nat and I had a bit of a mini-hackday this bank holiday Monday. Nat’s been doing a great job summoning local geeks out of the woodwork with Oxford Geek Nights event, but it’s still pretty hard to find other interesting events in the Oxfordshire area. It’s not that there aren’t any, it’s just that the geek community in Oxford is currently pretty fragmented. [... 295 words]

Quick Django Benching. Django under Apache/mod_python outperforms nginx/FastCGI and LightTPD/FastCGI once you ramp up the concurrency levels. My setup for this site (Apache/mod_python behind an nginx proxy, with nginx handling static files) should give the best of both worlds. 1 17th February 2007, 4:56 pm

Content delivery system design mistakes. Collection of tips for optimising Web server performance. Mentions lighttpd/nginx, Keep-Alive, expires headers, noatime and more. 0 15th February 2007, 11 am

Nginx vs. Lighttpd for a small VPS. My VPS is still running nginx with no problems at all. 2 10th January 2007, 11:31 am

OpenID screencast

OpenID’s biggest problem is its learning curve. Using it as actually really simple, but if you’re not technical the amount of stuff you have to know before you can understand it is enormous. If you are technical, it just doesn’t seem like it should work—there are a bunch of questions that come up every time OpenID is discussed anywhere (“but surely there’s nothing to stop someone else from spoofing your ID”) which OpenID has answers for, but which are easily misunderstood. [... 315 words]

Nginx English wiki. I’m back up and running after the digg meltdown, currently using CherryPy load-balanced behind Nginx. 5 20th December 2006, 12:37 am

A django site