Joke Collection Website - Public benefit messages - How to improve the QPS and throughput of the system
How to improve the QPS and throughput of the system
Simply put, increasing qps and throughput by adding clusters is actually more complicated than this
First we need to know the bottlenecks of the system
What we Known system topology
For the rest interface, the system facilities are:
dns -gt; nginx -gt; tomcat -gt; db/soa
Secondly, considering the issue of load balancing, we can use other facilities to ensure the load balancing of cluster nodes and further improve the system qps
So there is:
You can add it at the application layer For caching, you can use redis to add cache. For the network, you can use cdn
Add clusters and load balancing separately for the bottleneck system to solve the problem
Because when a single table exceeds 10 million pieces of data, It is very slow, so at this time library splitting is needed, so there are vertical splitting and horizontal splitting.
For example, sending text messages, sending emails, etc.
Cluster load balancing
Increasing cache
System split
Sub-database and sub-table
Vertical split and horizontal split
Asynchronous MQ
- Related articles
- You can't send text messages when checking the balance.
- How do Android phones block harassing calls and text messages?
- Why did SKY retire from the G League?
- Greet the leaders returning from business trip.
- Why can't the newly opened Taobao store receive the information sent by the buyer on the computer?
- Icbc online banking SMS verification payment unfreezing method
- Will the facts be updated after the credit line is paid off?
- How to close the vivo wallet of vivo mobile phone
- How to check the source of text messages?
- Forty funny and creative voice commands and red envelope sentences