News for hackers. Stuff that matters.
Re:Making a site that can handle #1 on Hacker News by jacques_chester on Monday April 29, 2013 @12:11AM (#5624022)
I feel like we're going to sail off into old/new user debate territory. "It's been done before" / "I'm new and so it's novel to me" etc etc.

I'm not sure what to tell you, except I fall squarely on the "old" side of that divide, having had to nurse Wordpress installations for nigh on 10 years now.

But every time -- every time -- an uncached Wordpress blog is linked to and dies with the famously unhelpful "Error establishing a database connection", somebody pops up to mention WP Supercache and/or W3 Total Cache.

Actually, if I have a pet peeve, it's that non-terrible caching isn't part of the Wordpress core. Probably breaks on gawdawfulhost.com or something, god forbid that 99.999% of the internet be better off from core architectural improvements when we could be working on the fifteenth new admin redesign!!1!

Edit: I realise now that you weren't talking about Wordpress and thus, my own pet obsession is clearly revealed.

Re:Making a site that can handle #1 on Hacker News by tahoecoder on Monday April 29, 2013 @12:15AM (#5624041)
Fair enough. I think we are all sick of hearing about WP Supercache.

My post was about middleman + s3 + cloudfront, however. I think this combination of tools isn't as well known and some people could benefit from knowing about them.

Re:Making a site that can handle #1 on Hacker News by jacques_chester on Monday April 29, 2013 @12:19AM (#5624060)
In my opinion (given my superficial understanding of the prior situation), your problem was Apache + mod_php. The default settings for that combination are to chew memory until the bad people go away.

Out of curiousity, why middleman when you're already using Jekyll/Octopress?

(My dog in the static site generator fight is Nanoc, fwiw).

Re:Making a site that can handle #1 on Hacker News by tahoecoder on Monday April 29, 2013 @12:26AM (#5624083)
My main site, AppRaptor, isn't on octopress. Just this blog. I agree with you 100% that the problem was apache + mod_php. Nginx would have probably been better. I decided to try out this s3 + cloudfront solution instead, though. I'll take a look at nanoc. Thanks for the info.
Re:Making a site that can handle #1 on Hacker News by jacques_chester on Monday April 29, 2013 @12:34AM (#5624099)
Nanoc is hard to get used to but as far as I'm concerned it's a bucket filled with magic.