Defending champion Ayrton Senna won a second c...

Image via Wikipedia

Today I learned that the strangest thing can make your blog behave erratically, strange and crash whenever you apply even a hint of load to it. Apparently the reason my blog has been behaving so bad lately is the foursquare plugin used to show off my latest location in the footer. Seems like it kept wanting to talk with the foursquare API every time somebody reloaded the page. This tended to take a while and thus made the whole page slow … then when enough people did this, usually as a result of being frontpages on HackerNews …

… well the obvious happened. A bunch of open connections to the database, everyone cheerfully waiting for the foursquare plugin, until the database told the blog to fuck off because you’re only allowed about 200 connections by design to keep the server somewhat safe. And eventually I started running out of all sorts of resources assigned to me.

The issue seems to be fixed now … time to figure out how to get the 100 euro back from the host I wanted to move to out of pure frustration last night when my blog was down yet again.

Another thing that I learned was that Senna was a fucking awesome driver. Just simply the coolest guy ever. Awesome as a driver andย awesome as a human. That’s rare, a lot of people who are professionally awesome tend to suck horribly as people. If you haven’t yet, you should totally see the documentary about Senna called … Senna.

Enhanced by Zemanta

Learned something new? Want to improve your skills?

Join over 10,000 engineers just like you already improving their skills!

Here's how it works ๐Ÿ‘‡

Leave your email and I'll send you an Interactive Modern JavaScript Cheatsheet ๐Ÿ“–right away. After that you'll get thoughtfully written emails every week about React, JavaScript, and your career. Lessons learned over my 20 years in the industry working with companies ranging from tiny startups to Fortune5 behemoths.

PS: You should also follow me on twitter ๐Ÿ‘‰ here.
It's where I go to shoot the shit about programming.