Live data from Hacker News

10 Million hits a day with Wordpress using a $15 server

ewanleith.com

111–115 of 115 posts

Re: 10 Million hits a day with Wordpress using a $15 server

#111

Earlier quoted context omitted.

That's assuming they are already familiar with wordpress, most people have never used a CMS in their life. If requirements are simple then all you generally need is an admin area with about 3-4 links. Something like: Change Homepage Text Show Customer Inquiries Add Item to catalog This is much easier to understand to a newbie than "Add Page" , "Add menu item" etc. If they want complicated changes they will usually en…

* Find a new developer to work on my site * Install a plugin to handle facebook like buttons * buy a new template/design for $40 The first one is key though -- as a business decision.

Most small business people aren't going to go around installing new designs on their site on a whim (isn't that what they paid the designer to design?).

They want something they can log into once every couple of weeks and post some minor update too, then possibly consider a redesign 2 years down the line at which point they are likely to want to throw out most of what they have anyway which doesn't matter since they spent maybe $1000 on the whole thing.

If the site provides any kind of complex functionality then wordpress is really no longer going to make sense as a core to build around. Here 90% of the site is likely to be customer forms, order processes etc that don't fit into any convenient pre-existing model. At this point if you build around an off the shelf CMS 90% of the site will be custom plugin code so there will not be a huge benefit to anyone who would take over the code.

It's all about making the business itself a first class citizen rather than a particular piece of software.

Re: 10 Million hits a day with Wordpress using a $15 server

#112
post #46

The hallmark of Wordpress is ease of use. That's why you can spin up a blog right on their site, and they have a backend designed by Happy Cog. Wordpress is blog software for the technically illiterate. And then I take a look at this blog post that lists all the incantations necessary to scale Wordpress to reasonable scale and I wonder why anyone should do this. If you're setting up your own server, installing nginx,…

The Happy Cog design was short lived. We redesigned in house for version 2.7 in 2008.

> "blog software for the technically illiterate"

According to what metric? Not having the ability (and the huge amount of time) to roll their own blog software, or learn how to use Git and Jekyll? Try and look at the world from a broader perspective. Not everyone is a programmer, but they still have interesting things to say to the world.

> all the incantations necessary to scale Wordpress to reasonable scale

10 million page views a day is reasonable scale? C'mon. No combination of Digg and Reddit and Daring Fireball or anything else will get you even close to this. There is a selection of caching plugins for WordPress that'll get any site on shared hosting to easily sustain those types of real world traffic bursts. For people who do need a million plus page views a day, they're in "good problem to have" territory, and probably have long since acquired technical assistance, or have switched to a WordPress-specific host like WordPress.com, WP Engine, Page.ly, or ZippyKid which has high volume caching already configured for you.

Re: 10 Million hits a day with Wordpress using a $15 server

#113
post #50

FWIW: Amazon's Micro instances will burst to saturate unused CPU cycles on the host machine up to a hard-capped limit before being choked to death by the hypervisor. Had he run the Blitz test for 10 mins or more you would see the spike in traffic up, beyond what you think a Micro should sustain, and then it plummet to near 0 for a disturbingly long period of time[1]. If you are unlucky enough to have a Micro on a hos…

+1 right you are about micro instances getting hammered by the hypervisor if you use too much sustained resources. One trick that I used when I was temporarily hosting a small Clojure web app for a customer: I ran the web app using "nice" to reduce its priority. I did not do any measurements, so this is really subjective, but the app seemed to run a lot better as far as consistently getting a little bit of processor…

Interesting find Mark, I never tried dabbling with nice inside the Micro so the HV doesn't strangle it to death... appreciate the tip!

Re: 10 Million hits a day with Wordpress using a $15 server

#114
post #99

Earlier quoted context omitted.

After reading this my question is: will his system work on a small instance on ec2 instead of micro? It sounds as though the majority of issues you're describing are micro-specific and while there's a thousand "tune wordpress" blog posts out there it sounds like this one is a good idea minus the use of a micro instance.

The techniques Ewan outlines are spot-on; my clarification is for people to have the right expectations of the Micro's, not on the information he provides on tuning a WordPress install. That said, Smalls and up on EC2 will give you more consistent performance (they aren't built to provide the spike-performance Micros are) BUT are still relatively subject to "noisy neighbors". The smaller the instance, the bigger the…

Great makes a lot of sense thanks for expanding. Like you touch on I think price is the big issue for most people who aren't looking to build for 15mm/month but are just looking to sleep at night knowing that getting to the frontpage of digg, reddit, techcrunch, hackernews, etc won't sink the ship.

Re: 10 Million hits a day with Wordpress using a $15 server

#115

> Download the nginx secure key to verify the package > >cd /tmp/ >wget http://nginx.org/keys/nginx_signing.key Verify a package with a key you got over http? Am I the only one who noticed this?

A bit silly yes, but nginx.org doesn't support https, which is slightly more silly and rules out most other options.
Post reply on HN