Are there any scalability best practices for sites with huge audiences?

While this question was asked in various contexts before, I cannot find any information specific to sites targeted at very large audiences - for example, on the scale of hundreds of thousands or even millions of users.

When writing sites targeted at a smaller audience (for example, sites focused on data on an intranet that process from several to several thousand users), we tend to follow best practices within our project budgets / deadlines, i.e. development costs, deployment schedules and maintainability have a much greater impact than we would often like on how we code things.

Some things are also insignificant (to the point), for example, delivery time, image compression / size, bandwidth, since the nature of the application located on the local network tends to mean that there is a relatively small amount of financial costs (within reasonable limits)) need to worry too much.

However, when you plan to target a much wider audience, for example, the audience (hopefully) of millions of users:

  • Are there any best practices that you no longer need to worry about (i.e. become more insignificant the larger the audience)?
  • Are there any methods that should be followed even harder?
  • , - , , [ ]? .. , .

, :

  • , jQuery Google, CDN Google, , . .
  • CDN , javascript- .
+3
4

, , "" : CAP (, ). . "", , "".

, " ", , -, " " (, - ): ( ) "A" "P", "C".

: , , . ?

, .

+3

, :

a) /youtube/facebook/ebay/amazon/what. , YAGNI.

b) , , .

c) , , , - . , .

, , . , , . , .

+3
+1

@jldupont - , . , , - , " " - , , . , .

0
source

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


All Articles