How to survive a tweet from Stephen Fry (and why Heroku rocks)

Shortly after relaunching Hackerbuddy last week, I was lucky enough for word to spread - being voted up on Hacker News and Reddit, as well as shared on Twitter quite a bit. Yesterday morning, the world famous actor, tech-lover and national treasure Stephen Fry tweeted about the site (thanks Stephen!).

Stephen Fry's Hackerbuddy tweet

His tweet (and the retweets from some of his 3.4 million followers) led to a huge increase in traffic, with a ton of requests coming in at once.

There were two things I had in place that helped enormously to survive the rush in traffic. Firstly, I'm using Chartbeat - a real-time analytics dashboard which also allows you to set up alerts. If traffic spikes, you can have Chartbeat send an alert straight to your phone, or email you. If you're off somewhere else, and something happens that causes a huge spike in traffic, Chartbeat lets you respond immediately. I really can't recommend it enough, and it's priced at something like $5/month, which is amazing value. There's also a free trial so you can check it out, with more details here: http://chartbeat.com/tour/.

The second thing that helped save the day was the fact that the site is hosted on Heroku. Heroku has been fantastic ever since I switched to it - scaling up how many dynos (which handle how many HTTP requests you can accept) to how many workers (which manage writes to the database) was as simple as running the command "heroku scale web=10 worker=6" and, just like that, the site was able to handle the traffic. When it dies down, you can just run heroku scale to scale it back down, and if you're not on the Cedar stack, you can also just use the web interface at Heroku.com.

I know for a fact that my old hosting wouldn't have been able to cope with the traffic - it would frequently suffer whenever there was an unexpected spike, but Heroku didn't even flinch.

tl;dr - Chartbeat lets you know when traffic spikes. Heroku helps you deal with it.

Written by Sharky on December 08, 2011

Comments

99902ca5f5ca67db2a09ea4665ec0bf1.png?s=128&d=http%3a%2f%2fhackerbuddy.com%2fassets%2fguest

Legit Hacker For Hire With Prove
hey friends , this message is for people who are searching for hackers , we am a members of anonymous pakistan , here to offer
hacking services to people in need of it , we are building our customer base thus the reason for this post , we offer services like
- hack any smart phone to spy on it , monitor chat messages like watsapp or track it , you can hire us to do this for you or you can buy
our private software to do it yourself
- hack any email address you are provided with prove before payment
- bank transfers or send money to your credit cards you can see prove on our site below
- hack social media sites like twitter , instagram , facebook , myspace and provide screen shot prove before payment
- hack university web servers to change student grades
- clear bad credit or criminal record .
- teach hacking from scratch
- sell credit cards or make paypal transfer or provide you with paypal login access to make transfer yourself
these services and more we can offer
visit our website and refer your friends who might need our service
website : http://underworlddwellers.esy.es
email : undergrounddwellers@hotmail.com

By hacker247365, January 31, 2017

Log in or join Hackerbuddy to add a comment

Hackerbuddy pairs you up with fellow coders, designers & beta-testers to give friendly, free advice via email. We'd love to have you join us.

I_star

The Hackerblog

Find startup tips, advice & interviews on the Hackerbuddy blog , including our latest post: Find beta testers for your product.

I_point

The Forum

Talk to the startup hacker community with the Hackerbuddy forum.

I_info

Find a Hackerbuddy

Find a pro to give you some friendly advice & guidance - get started here.