How to make a dynamic website as scalable as possible?

How can we create a dynamic website or website that is developed in PHP and backend, since MySQL is a High Scalable social networking site?

+3
source share
8 answers

Following good design and programming practices such as low connectivity. Try to find the best solution for your site (design patterns, best practice OO), taking into account scalability.

I don’t think there is a silver bullet here, it depends on each case.

Reservation is also very important, as they say.

- , , , .

+7

, facebook, twitter youtube . , ( ).

, :

  • / ( )
  • (memcache memcached)
  • ++
  • NoSQL (Cassandra, CouchDB, MemcacheDB)

, , .

+12

, , . -, .

.

- , " ", , , normalization , -.

.

( ), , , - , , , . / , .

" ". , . , , , , ruby ​​on rails, scala . Facebook, , PHP, PHP.

+3

, . , .

: . - " ", / . - , . , , .

- , , , - . , -. , , ( , ); , DNS -. , , , . , , , .

, , / . (memcached), HTTP ( HTTP) .

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

+3

, , .

.

. , . , , , . , .

MemCached!

SQL- sql.

"" - "" , , , . , , .

+2

, , . . , , !

+1
+1

"Front Controller" .

Each request should be considered separately, so you can scale each part individually. Trying to do this with the "Front Controller" template is not possible, because instead of using a browser, which is actually "Front Controller", you put it on your server, which is too late, and means that you cannot send a request to a unique resource .

+1
source

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


All Articles