An open source solution package for a high-performance website?

If you were asked to recommend an open source solution stack for a website where scalable high-priority performance is above everything else, what would you recommend?

Some attempts to determine:

  • Scalability: When deployed, the solution stack should be able to scale from a few users to several millions by simply adding additional hardware. A solution package should never be a bottleneck.

  • Performance: Imagine a website that can handle millions of users, hundreds of terabytes of data (HTML, images, video, etc.), tons of traffic every day, at least 99.99% of the uptime per year.

The decision stack should indicate:

  • OS
  • web server
  • or equivalent
  • programming language

If necessary, you can also offer other programs, libraries, tools, etc. (e.g. language libraries, load balancing, caching).

+3
source share
3 answers

When developing a high-performance and scalable site, there are a number of key areas:

  • caching
  • IO drive and location
  • Database lock
  • Did I mention caching?

Stackoverflow. , , .

: Squid, Apache mod_cache memcached

. , -, (, ..) ? , - . , .

. , , - - , . , . ? 9 10 .

. . . . - HTML , - , memcached .

:

- : Apache Httpd. , .

: , - - CentOS .

DB: - mySQL Postgres. Postgres , , , , .

: . . , Python, Ruby, PHP, Java,.NET .. .

+3

, , , , . . , .

+2

- :

nginx [engine x]

On your website , as well as in other corners of the Internet, you can collect more information about this, including popular websites that use it. A very good example is Hulu.com dealing with a heavy load of video streaming. It is said to work better than lighttp, a typical Apache competitor when it comes to raw performance.

An additional interesting aspect of this is that it already includes load balancing.

+1
source

Source: https://habr.com/ru/post/1704393/


All Articles