Not aussieguy, but cache everything on the network level. If you need anything dynamic, do it SPA style and bypass the WordPress backend.
There's no getting around the 50-200 request/sec barrier of the codebase. The most popular sites use it as a fancy static site generator.
Write your dynamic stuff in React or Vue (something client side). Then point it at a custom backend built to handle the load. For comments and the like, maybe mongo or elastic with Go/Java.
I've only seen a couple sites popular enough to do this.
A danger with WordPress is attackers finding a stray dynamic endpoint (not cached) and taking site down by curling or F5. Unless you have a super beefy server, it's possible to kill a site spamming F5 if you find an action not cached. This is a technical problem for all WordPress sites but only a practical one for sites large enough to be a target.
Some sites the use sitemap functionality to pregenerate all pages as HTML and serve that. It's the only way to be truly secure with WordPress
Depends on whether the majority of views are on static blog posts, as they can be cached and served from nginx. But if you’ve got a lot of dynamic views - comments, admin, personalised - it’s much harder.
Still impressive you managed to get that level of performance out of a $20 DO box.
10m page views really doesn't look that big if you bring it down to pageviews/second and there's some reasonable distribution.
Assuming a busy day is 1M, and that a busy hour of the busy day has 100,000, but over the hour is evenly distributed, you're looking at under 30 page views per second. Maybe peak is a little more. If this is tuananh's current site, it's Jekyl, so it's all static -- you could probably host that on a 486 (as long as there aren't any big images to clog the nic). If it's something with a little bit of dynamic content, you might need to be careful about how you structure it, but something reasonable should be fine at that level of traffic too, just need to make sure you don't spend a lot of cpu doing useless work (like some frameworks that take 60ms to output hello world)
WordPress has alot of filters that allow you to take over/modify just about anything including internal functions. We overrode get_posts() to use ElasticSearch instead of MySQL and added lots of caching to alot of things with Memcache.
I built a plugin which cached all of the HTML output of every WordPress page and all of the widgets in Memcache.
On top of all the server side caching, there was Akamai in front caching every page at the network level.
Diversity in nature or technology is important. And it's worrisome that both are disappearing.
"The resulting homogeneity and uniformity can offer substantial advantages in both the quantity and quality of crop harvested, but this same genetic homogeneity can also reflect greater susceptibility or pathogens. Thus it appears the more that agricultural selection disturbs the natural balance in favor of variety uniformity over large areas, the more vulnerable such varieties are to losses from epidemics." https://www.nap.edu/read/2116/chapter/5
And if we take the word of Steve Jobs on this one we are for a hard ride: "It turns out the same thing can happen in technology companies that get monopolies, like IBM or Xerox. If you were a product person at IBM or Xerox, so you make a better copier or computer. So what? When you have monopoly market share, the company's not any more successful.
So the people that can make the company more successful are sales and marketing people, and they end up running the companies. And the product people get driven out of the decision making forums, and the companies forget what it means to make great products. The product sensibility and the product genius that brought them to that monopolistic position gets rotted out by people running these companies that have no conception of a good product versus a bad product.
They have no conception of the craftsmanship that's required to take a good idea and turn it into a good product. And they really have no feeling in their hearts, usually, about wanting to really help the customers." https://www.businessinsider.com/steve-jobs-on-why-innovation...
With our economy and daily lives so dependent in a few companies, any drop in quality will impact all corners of society.
I'm not sure why you think hosting diversity is disappearing when it comes to WordPress. The past 2 years has seen a huge surge in great companies offering premium managed WordPress hosting services.
Agreed, VIP is good for enterprises, the paid tiers are okay for personal sites... But as soon as a medium sized business gets into customizations, they have to move off WordPress and onto one of the many dedicated WordPress hosting companies.
You can still front non-static assets by a CDN. Just update the CDN when the asset changes, or add a query parameter to requests (e.g, ?v=2) when changing things like your favicon.
Typical Wordpress sites that are built as a pure CMS are absolutely cacheable (not just JS, CSS, images), but the html can be cached of course. The problem occurs with commenting, and dynamic data features.
I know many Pantheon people closely and had seen what they do. It's a good platform, but WordPress.com platform tend to be a lot more mature and reliable, despite this incident.
This one might be a better article: https://news.ycombinator.com/item?id=20158002