Answer the question
In order to leave comments, you need to log in
How to make 2 or more servers "work" for one site?
Hello. Such a question: we have a CRM, in which the number of accounts is growing very quickly and, accordingly, the load on the server increases. Now there is a dedicated server. Once upon a time, it will also not be enough for our loads. Is it possible to somehow use the power of two servers (and then three, and more) for the server to work? Are there hosts that support this?
Answer the question
In order to leave comments, you need to log in
The system administrator in conjunction with the developers may well do this.
1. Install nginx for balancing
2. Multiply the server into two nodes
3. Solve the issue with the database - either move it to a separate server or make a bunch of one master - two replicas on the nodes. Write only to master, read from replicas.
Business then :)
this is called scaling,
the first step is usually transferring the database to a separate server, then cloning the web servers to others, then the database is divided into master and slaves, it is written to the master from the slaves, and then the software needs to be rewritten for the cluster architecture
A good answer comes from silverjoe .
To all of the above, I want to add that with such loads it is more profitable to already purchase your own servers and place them in a DC (if you don’t have your own server room). In the worst case, rent servers in one rack/DC.
Also, it is worth understanding why the server does not cope well - high load due to scripts, databases? Because of the disk subsystem? The partitioning into nodes will depend on this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question