Over the last 2 years, I’ve gone viral twice, most recently with a Reddit post that went way beyond my expectations. I had just wrapped up a months worth of work experimenting with some new data on savings rates, and I wanted to show off to /r/DataIsBeautiful. Data is Beautiful is a subreddit where analytical redditors post interesting graphs and charts. The nice thing about Data is Beautiful is that they allow original content, so that people like me (/u/shnugi_) can self post. Most subreddits ban self posting, because it invites a deluge of spam.
I thought that I would get maybe a few hundred people to check out my data and give some constructive feedback. Well, this happened:
The post I had made had attracted hundreds of comments and a Reddit score of 9898. Over ONE HUNDRED THOUSAND PEOPLE visited that day.
Dark Side of Going Viral – My Server Was Not Ready
I had a plan to be able to support a similar size of visitors as the Lifehacker feature (21k sessions in one day). My plan totally worked, until I completely blew past 21k sessions. After that, my server was throttled for the next few hours. My SO is much better than me at techy things, so I called in the reserves for help. We tried a bunch of things like resizing my Digital Ocean droplet, increasing PHP and MySQL memory limits, and then finally increasing the number of concurrent connections on Apache. The last one fixed the problem for me and my site resumed to normal speed, while also supporting over 1200 active users at the same time.
What I learned
- Have an even bigger plan next time.
- Load test my server to test the bigger plan, so that it isn’t like a fire drill every time it happens.
- Don’t be afraid of sharing. Typically, I shy away from self promoting, but it’s good to have some positive feedback when I do self promote that people like what I make.
Hopefully, someone finds this helpful. For me, I know both the times that I’ve gone viral I’ve been highly under-prepared. Good luck to all the other content creators out there!