Monthly Archives: June 2013

Tuning a webserver to avoid swapping

A lot of people run into a problem when they first setup a webserver — perhaps in a VPS or other small system — using default settings: the system will run fine at first, but when under load, probably when the owner isn’t around, it will grind to a halt. The owner comes back, tries […]

UK Interest Rates: Government figures vs. Government figures

Officially, the UK Inflation rate is 2.4%. Except that inflation is supposed to be “a measure of the rise in cost of goods and services“. Based on actual figures from the Office of National Statistics, the same organisation that reports the inflation rate, things are very different: Gas and electricity: +142% Car tax & insurance […]

PyPy vs. CPython: Speed and memory usage benchmarks

Following on from part 1 of this article, I’d like to take you through some PyPy vs. CPython benchmarks. Benchmarks: Many Objects Note: in all benchmarks, I’m measuring total memory use for the entire interpreter run, but only measuring time taken across the code I’m actually interested in testing. There’s a subtle (depending on your […]

On the virtues of PyPy as your default interpreter

I get a lot of use out of PyPy. In fact, it’s become my default python interpreter, replacing CPython, at least for Python 2.x code. Python 3.x support in PyPy is coming real soon now; most of the tests are passing, so the next release will probably make it happen. So, I wanted to write […]

Welcome to my new blog

It’s been a while.  Finding time to blog is tough these days, and it’s so easy to be swept up in sites like Facebook, where all your friends are, or Google Plus, which offer easy access to lots of other posts and readers. I’ve seen the light, though. Facebook does so much analysis on users […]