2
2
2slide2014-01-12 02:44:58
Highload
2slide, 2014-01-12 02:44:58

One site multiple servers?

A large project with 1000TB HDD, about 500,000 visitors per day. MySQL database.
Loading and uploading files.
How to implement several servers for all this and how to combine them into one power?
One database server or several. When one failed, the other started working.
Several file servers worked as one, and if one failed, the site worked without failures.
Load balancing.
For example, like vk.com or facebook.com, many servers were combined for one site.
I have experience in setting up a LAMP Web server on CentOS. As development progressed, it became clear that one server would not be enough.
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
W
WArYagTwar, 2014-01-12
@WArYagTwar

here you can only advise or read about highload structures, or hire a specialist (s), because everything is very individual, and the topic is too broad to say - do it.

P
Puma Thailand, 2014-01-12
@opium

Hire an admin, dealing with such requests yourself is simply longer and more expensive.
He will advise you on the architecture and how to develop it so that it scales horizontally.

A
Alexey Pomogaev, 2014-01-12
@Foror

>Download and Upload
It's the same as Muller said :)
Google towards Hadoop as an example

M
Mikhail Chernyshev, 2014-01-12
@mihchernyshev

The database (reference) is located on one very powerful server. Mainly used for data write operations. For a large number of simple data sampling operations, you can use:
1. copy(s) (replication) of the database. Replication should be performed with a certain frequency (for example, once every few minutes)
2. use data caching in RAM based on hash tables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question