当前位置:网站首页>单体架构系统重新架构
单体架构系统重新架构
2022-04-23 15:37:00 【dengk2013】
1.数据尽量缓存在redis中,避免实时运算增加后台服务器的压力
2.要对数据库,redis,应用进行监控
3.尽量用分布式架构,方便横向扩容
4.机房带宽问题,如果单机房带宽不够,应该多机房来减轻压力
5.多级缓存架构设计
6.关键中间件组件尽量集群部署
7.二维码在客户端生成
二.我的架构设计模型
3:如何推算需要多少台服务器
需要部署的web节点数=(人口平均的QPS*20)/(单机QPS平均值*80%)
估算平均QPS=城市人口(除开老人和小孩)*12/(16*3600)
1000W*12/16/3600=2083
2083*20/(2000*0.8)=26台服务器
总带宽:2083*(1kb/1024)*8=325M
redis内存: 1000w*(1/1024)/4=2441/1024=2.38G
对于千M网卡带宽也完全没问题,
redis完全承受的住
版权声明
本文为[dengk2013]所创,转载请带上原文链接,感谢
https://blog.csdn.net/u012222011/article/details/124321808
边栏推荐
- Detailed explanation of kubernetes (IX) -- actual combat of creating pod with resource allocation list
- CVPR 2022 优质论文分享
- Summary of interfaces for JDBC and servlet to write CRUD
- PHP function
- 深度学习——超参数设置
- The El tree implementation only displays a certain level of check boxes and selects radio
- HJ31 单词倒排
- 一刷312-简单重复set-剑指 Offer 03. 数组中重复的数字(e)
- Educational Codeforces Round 127 A-E题解
- What are the mobile app software testing tools? Sharing of third-party software evaluation
猜你喜欢
随机推荐
深度学习调参的技巧
移动app软件测试工具有哪些?第三方软件测评小编分享
现在做自媒体能赚钱吗?看完这篇文章你就明白了
Demonstration meeting on startup and implementation scheme of swarm intelligence autonomous operation smart farm project
Node.js ODBC连接PostgreSQL
What role does the software performance test report play? How much is the third-party test report charged?
Go语言切片,范围,集合
Do keyword search, duplicate keyword search, or do not match
移动金融(自用)
JSON date time date format
Elk installation
移动app测试如何进行?
After time judgment of date
How did the computer reinstall the system? The display has no signal
Pytorch中named_parameters、named_children、named_modules函数
Common interview questions of operating system:
软件性能测试报告起着什么作用?第三方测试报告如何收费?
Common types of automated testing framework ▏ automated testing is handed over to software evaluation institutions
utils.DeprecatedIn35 因升级可能取消,该如何办
Explanation of redis database (III) redis data type