high traffic site optimization
Tools, techniques, principles, patterns and designs to have a high-performance Linux server.
Last updated
Was this helpful?
Tools, techniques, principles, patterns and designs to have a high-performance Linux server.
Last updated
Was this helpful?
Here are two ways to try to optimize a website; we have top-down and bottom-up. in top-down approach people debate about which programming language is faster. They say WordPress is slow and ReactJS is faster; which is true. Python is faster and NodeJS, yes true. So the point is, for having a really fast website, just a faster programming language cannot help so much. For any website to function (be loaded) we have these four levels (layers):
code level (php, go, python, etc)
service level (Apache, Nginx, LiteSpeed, etc)
architecture level (HA, LB, etc)
infrastructure level (network, dedicated server, VM, containers, etc)
We tested and realized that the same code, but in different DataCenter has different speed. Just changing the DataCenter. So when we can apply optimization from top to bottom (which works) we can apply it from bottom-to-up which is more effective.
We are going to cover these four layers and provide solutions for each laster and improve overall performance of the website we have.
NOTE SVGs are used to better demonstration.
Here is the ineffective approach (top-down)
and here is the effective approach (bottom-up)