T
T
turundaev2015-01-21 09:05:13
Computer networks
turundaev, 2015-01-21 09:05:13

Web application on 3 servers, how to implement it better?

Good day to all!
There are 3 servers and one web application (PHP+MySQL).
Can you tell me the best way to implement hosting a web application on these servers?
Example: one server only for static data (pictures, etc.), on the second one to spin MySQL with backups, and on the third one the web application itself
Main tasks:
1.Fault
tolerance 2.Speed
​​3.Reliability (+ backups)
3 servers are 1 meter apart. The application itself is an intranet system for 1500 people.
main tasks: dashboards, uploads to / from excel, attendance control.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Yeletsky, 2015-01-21
@Tiendil

>Can you tell me the best way to implement hosting a web application on these servers?
No need to organize. Describe the problem you want to solve with this, then you can say something. If there is no problem, use one server.

S
Sergey Novikov, 2015-01-21
@BOOMER_74

Your option is more suitable for load balancing (on very large projects). I would recommend making 3 identical servers (especially if you have them in different places, for example Moscow-Paris-New York). Then you would have something like a CDN. They would "cover each other", but here the problem of updating the data arises. But before you think about it, answer the questions "Do you need it?" and "Do I have such a larger application to distribute?".

M
Melkij, 2015-01-21
@melkij

В зависимости от того, что вы получить-то хотите.
Выше описан CDN. Возможно, вам нужна отказоустойчивость, возможно - масштабирование нагрузки.
Решения разные в зависимости от разных задач.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question