当前位置:网站首页>单体架构系统重新架构
单体架构系统重新架构
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
边栏推荐
- Educational Codeforces Round 127 A-E题解
- [backtrader source code analysis 18] Yahoo Py code comments and analysis (boring, interested in the code, you can refer to)
- 大厂技术实现 | 行业解决方案系列教程
- cadence SPB17. 4 - Active Class and Subclass
- MySQL Basics
- ICE -- 源码分析
- 一刷314-剑指 Offer 09. 用两个栈实现队列(e)
- PHP function
- Demonstration meeting on startup and implementation scheme of swarm intelligence autonomous operation smart farm project
- T2 iCloud日历无法同步
猜你喜欢
【Leetcode-每日一题】安装栅栏
Byte interview programming question: the minimum number of K
Explanation 2 of redis database (redis high availability, persistence and performance management)
How did the computer reinstall the system? The display has no signal
Sword finger offer (1) -- for Huawei
Sorting and replying to questions related to transformer
Cookie&Session
服务器中毒了怎么办?服务器怎么防止病毒入侵?
T2 iCloud日历无法同步
导入地址表分析(根据库文件名求出:导入函数数量、函数序号、函数名称)
随机推荐
码住收藏▏软件测试报告模板范文来了
【Leetcode-每日一题】安装栅栏
大厂技术实现 | 行业解决方案系列教程
Recommended search common evaluation indicators
What exactly does the distributed core principle analysis that fascinates Alibaba P8? I was surprised after reading it
Mysql database explanation (8)
Openstack theoretical knowledge
Precautions for use of dispatching system
Common interview questions of operating system:
现在做自媒体能赚钱吗?看完这篇文章你就明白了
Grep was unable to redirect to the file
基础贪心总结
服务器中毒了怎么办?服务器怎么防止病毒入侵?
怎么看基金是不是reits,通过银行购买基金安全吗
【递归之数的拆分】n分k,限定范围的拆分
Baidu written test 2022.4.12 + programming topic: simple integer problem
MySQL InnoDB transaction
php函数
Sword finger offer (2) -- for Huawei
cadence SPB17. 4 - Active Class and Subclass