3 ms·
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 - comme
by blowski 7y ago
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.
- toast0 7y ago10m 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)