Hacker News new | ask | show | jobs
by devwastaken 3247 days ago
"Error establishing a database connection" The greatest knowledge by experience for all for us in devops.
7 comments

Author made an edit:

> THE BIGGEST LESSON I LEARNED TODAY

> Don’t forget to turn on your caching plugin and CDN. I submitted this blog post to Hacker News and this website can’t be accessed.

> And I HOPE it won’t crash right after I wrote this. I hope! Haha.

Haa... nice.

I don't think there could have been a more hilarious response to clicking a link with that title. Got a good chuckle out of it.
Hahah, that was my thought too. The wisdom is to always do load testing.
Has anyone measured how much traffic can being on the front page of HN generate?
It's not as bad as you'd think in total volume, it's just you get a lot of bursty concurrent traffic. Something as simple as a hundred requests in roughly the same second crash many blogs sadly.
It is a very important lesson. Caching is your friend.
I'm guessing it's a wordpress site? Try disabling php xml rpc.... It could be getting hammered by spambots or malware vectors.
same here.. lol