News for hackers. Stuff that matters.
Re:What I've Learned So Far as a Programmer by devwastaken on Tuesday August 01, 2017 @09:56AM (#14900606)
"Error establishing a database connection" The greatest knowledge by experience for all for us in devops.
Re:What I've Learned So Far as a Programmer by ohkaiby on Tuesday August 01, 2017 @01:28PM (#14903155)
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.

Re:What I've Learned So Far as a Programmer by eljimmy on Tuesday August 01, 2017 @10:41AM (#14901109)
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.
Re:What I've Learned So Far as a Programmer by nautilus12 on Tuesday August 01, 2017 @10:02AM (#14900666)
Hahah, that was my thought too. The wisdom is to always do load testing.
Re:What I've Learned So Far as a Programmer by blojayble on Tuesday August 01, 2017 @10:20AM (#14900868)
Has anyone measured how much traffic can being on the front page of HN generate?
Re:What I've Learned So Far as a Programmer by jsjohnst on Tuesday August 01, 2017 @03:08PM (#14904247)
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.
Re:What I've Learned So Far as a Programmer by beobab on Tuesday August 01, 2017 @10:14AM (#14900794)
It is a very important lesson. Caching is your friend.
Re:What I've Learned So Far as a Programmer by admira1Ackb4r on Tuesday August 01, 2017 @10:58AM (#14901287)
I'm guessing it's a wordpress site? Try disabling php xml rpc.... It could be getting hammered by spambots or malware vectors.
Re:What I've Learned So Far as a Programmer by hugo9099 on Tuesday August 01, 2017 @10:05AM (#14900696)
same here.. lol