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…
10 Million hits a day with Wordpress using a $15 server
81–90 of 115 posts
Re: 10 Million hits a day with Wordpress using a $15 server
#82> echo “deb http://nginx.org/packages/ubuntu/ lucid nginx” >> /etc/apt/sources.list Shouldn't that be "oneiric" since you're using Ubuntu 11.10? Or does the nginx team compile everything statically so it works no matter which version you choose? I'm also a bit puzzled with your decision to make PHP run as the "nginx" user. You probably did this to match the username that the nginx debs use (Ubuntu's default package u…
Of course, you can manage this in other, more security conscious ways (move static assets elsewhere, use group permissions, etc.) but this is probably the simplest.
Re: 10 Million hits a day with Wordpress using a $15 server
#83FWIW: 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…
I think "a $4217/mo CDN bill" may be a bit of an exaggeration :p I honestly had no idea how much CDN's charge, threw some rough stats into AWS Monthly calculator for CloudFront (596GB/Month, 500kb avg. object size) and the bill was only $73.87 /month. Call me surprised!
A million visits times 500KB = 476.84GB. Per day, so 14TB per month. At best that's another $1,600 a month.
Re: 10 Million hits a day with Wordpress using a $15 server
#84Earlier quoted context omitted.
I think CMS engines like wordpress are great for semi technical people who are curious enough to set stuff up themselves. However whenever I've had a website to develop I've never seen the point of using one. If the website is going to be very simple the chances are it doesn't really need a full on CMS. All it needs is an HTML/CSS layout and some content that can come from either static HTML files, a few form handler…
Your forgetting that this favors your more than them. People dont want to learn a new system, and they are confortable with wordpress. There are millions of devs and designers also familiar with wordpress - which can mean they can leave you in an instant and get anyone else to make changes or add feature to the site easily.
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 end up calling me anyway.
I always keep the coding for my simple sites simple enough that any competent developer should be able to figure it all out in an hour or so anyway.
Many people who are not technically inclined do not have time to do much modification to their website themselves, so will generally not bother if you give them something with a lot of power like a full CMS.
Re: 10 Million hits a day with Wordpress using a $15 server
#85> echo “deb http://nginx.org/packages/ubuntu/ lucid nginx” >> /etc/apt/sources.list Shouldn't that be "oneiric" since you're using Ubuntu 11.10? Or does the nginx team compile everything statically so it works no matter which version you choose? I'm also a bit puzzled with your decision to make PHP run as the "nginx" user. You probably did this to match the username that the nginx debs use (Ubuntu's default package u…
If you've got your php code and static assets in the same repo, then it's generally easiest to have php and nginx run as the same user that owns the files in that repo. php needs access to those file to parse/run them, and nginx needs access to those (static) files to serve them. Of course, you can manage this in other, more security conscious ways (move static assets elsewhere, use group permissions, etc.) but this…
Re: 10 Million hits a day with Wordpress using a $15 server
#86TL;DR - Vanilla ubuntu, configure firewall, install nginx, install wordpress, turn on wordpress caching, install and configure varnish.
Isn't there any kind of static generator for Wordpress? I'd expect a static wordpress + nginx would be sufficient to handle quite a serious load.
Re: 10 Million hits a day with Wordpress using a $15 server
#87Earlier quoted context omitted.
Varnish caches the actual HTTP requests, and speeds up static content substantially by removing the necessity to load up PHP. WP caching speeds up requests that spin up PHP by preventing them from making a connection to the MySQL Database. This is useful for requests that may peruse multiple blog posts, but load the exact same sidebar content by caching things like post counts, categories, tag clouds, etc.
Really? That's interesting. I assumed the WP caching was straight page output caching.
It's better to use the language runtime for more specific caching inside your application logic and for smarter cache expiration.
Re: 10 Million hits a day with Wordpress using a $15 server
#88A blog is the most simple to scale application, just one step after the static content. The fact that wordpress has traditionally been not very scalable always used to puzzle me...
I do wonder why W3 Total Cache or one of the other options isn't a standard feature of Wordpress.
Re: 10 Million hits a day with Wordpress using a $15 server
#89A blog is the most simple to scale application, just one step after the static content. The fact that wordpress has traditionally been not very scalable always used to puzzle me...
Is there some good Python-based blogging system that would be more scalable?
Blaag and Hyde generate static html, which is about as scalable as you can get, w.r.t. speed.
Re: 10 Million hits a day with Wordpress using a $15 server
#90> 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?