Please tell me how you think about upgrading your web server.
"As the number of users of the site increases, the loading of web pages is getting heavier."(Of course, there are ways to improve the program and optimize it, but please limit this time to solutions from the server.)
I can think of these two things, but what kind of situations are they suitable for?Please let me know if there is anything else.
Also, I think there are many reasons why it gets heavy.
and so on.
Please tell me that this is the best case.
I don't know much about the server, so I'd appreciate it if you could stick it in if there's anything missing or wrong.
apache nginx
Generally speaking,
That's about it.
In the end, scaling up or out is nothing more than a resource estimate and system configuration creation, so it is recommended that you study system design properly in books.
"What is the best case for each?" "This is the case, so this is the best case" is not a good question for many respondents (check Close Questions), and just collecting a few of those "cases" doesn't help the real situation.
According to the conditions of your question, either method seems to solve the problem.
The real problem is that the "budget" accounts for a considerable amount of weight and
Other requirements (how far do you expect future load, fault tolerance, operational costs, Etc..)
Finally, the best solution is determined.
It's easier and cheaper to scale up on a smaller scale, but over a certain scale it's cost-effective and you can't handle it when you get to where you are.
Therefore, if it is expected to exceed or exceed a certain size, I think the basic route is to scale out to two or three including load balancers.
// I'm sorry if you missed the target.
© 2024 OneMinuteCode. All rights reserved.