Swipe for London ›
Most slow software is not slow. It is far away.
Until 11 October, every time our office in Leeds opened a customer’s job on the Kruze CRM, the question travelled to Singapore and back. The database lived there, 10,894 km from the driveways we actually clear. The code that asked it questions was running in Washington DC, because that is the default and nobody had changed it. So every click took a small world tour. Leeds, Washington, Singapore, Washington, Leeds. The office dashboard took 2.4 seconds to open, which is just long enough to reach for the kettle and feel guilty about it.
Picture a filing cabinet kept in another country, with a clerk who flies out to fetch every folder. You can buy a bigger cabinet. You can buy a smoother drawer. The clerk is still on a plane.
That is exactly what I did first. I paid for a bigger database plan. It made no difference at all. A larger cabinet, same flight.
Here is the part most founders miss. A page does not make one trip. It asks several questions in a row, and each one waits for the last. I measured a single round trip this morning: about 17 milliseconds to a London data centre, about 170 to Singapore. Ten times the wait, paid on every question, stacked one behind the other. No upgrade on earth makes the planet smaller.
Moving the code next to the database got the dashboard down to 0.75 seconds. The clerk stopped commuting via America. Then on Sunday 11 October we moved both to London. The switch itself took about 12 minutes, less than a tea break.
None of it was hard. I had just never asked where the thing lived. Most small firms have not asked either, because the answer sits in a settings page nobody opens, written as a region code. eu-west-2 is London. us-east-1 is Virginia. ap-southeast-1 is Singapore. It takes two minutes to look.
Speed is not something you buy on a bigger plan. It is an address, and ours was on the wrong side of the world.
Photos: Marina Bay Singapore, Bijay Chaurasia, CC BY-SA 4.0. London skyline from Waterloo Bridge, Diliff, CC BY-SA 3.0. Both via Wikimedia Commons.