当前位置:网站首页>Single architecture system re architecture

Single architecture system re architecture

2022-04-23 15:39:00 dengk2013

1. Try to cache the data in redis in , Avoid increasing the pressure of background server by real-time operation

2. To modify the database ,redis, Application for monitoring

3. Try to use distributed architecture , Convenient for horizontal expansion

4. Bandwidth problem in the computer room , If the bandwidth of the single room is insufficient , More computer rooms should be used to reduce the pressure

5. Multi level cache architecture design

6. Key middleware components shall be deployed in clusters as much as possible

7. The QR code is generated on the client

Two . My architecture design model

3: How to calculate how many servers are needed

Need to be deployed web Number of nodes =( Population average QPS*20)/( stand-alone QPS Average *80%)

Estimate the average QPS= Urban population ( Apart from the elderly and children )*12/(16*3600)

1000W*12/16/3600=2083

2083*20/(2000*0.8)=26 Servers

Total bandwidth :2083*(1kb/1024)*8=325M

redis Memory : 1000w*(1/1024)/4=2441/1024=2.38G

For thousands M The network card bandwidth is also completely OK ,

redis Fully withstand

版权声明
本文为[dengk2013]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231537380385.html