当前位置:网站首页>High performance and high availability computing architecture of "microblog comments" in microblog system
High performance and high availability computing architecture of "microblog comments" in microblog system
2022-06-29 23:22:00 【InfoQ】
【 High performance computing architecture for non hot events 】
【 User volume 】
- 2020.9 Live every month 5.11 Billion , Diurnal activity 2.24 Billion ( Reference resources 《 Microblogging 2020 User development report 》).
【 User behavior modeling 】
【 Look at micro-blog 】
【 Comment on Weibo 】
【 Business characteristic analysis 】
【 Architecture analysis 】
【 Architecture design 】
- The load balancing algorithm depends on the login status when it chooses to comment on Weibo , The login status is generally saved in the distributed cache , So when commenting on Weibo , Send the request to any server , Choose here “ polling ” perhaps “ Random ” Algorithm .
- Estimating the number of business servers commenting on microblogging involves several key processes : Content review ( Rely on the audit system )、 Write data to storage ( Dependent on storage system )、 Data write cache ( Rely on the cache system ), So, per service per second 500 To estimate , complete 2.5K/s Of TPS, need 5 Servers , Plus a certain amount of reserve ,8 This server is almost .
【 Multilevel load balancing architecture 】

【 High availability computing architecture for hot events 】
【 User behavior modeling 】
【 Business characteristic analysis 】
- Comment on Weibo
- Business logic is basically equivalent to microblogging , Its importance and influence are not as important as the original Weibo .
【 Architecture design analysis 】
- Comment on Weibo comment is less important and influential than the original Weibo , Think about it “ Comment on Weibo ” Current limiting , But the request cannot be discarded , Consider using “ Leaky bucket algorithm ”.
【 Sketch Map 】

边栏推荐
- MetaQ集群安装测试
- 2022年PMP项目管理考试敏捷知识点(5)
- Leetcode 1385. 两个数组间的距离值
- 3D stereo photo album, Valentine's day, couple birthday gift code applicable
- Solr基础操作1
- 远程沟通高效的自我总结| 社区征文
- Solr基础操作5
- Under the epidemic, I left my job for a year, and my income increased 10 times
- I hope you have no regrets about the regrettable things in the University
- 数据库-玩转数据-Pgsql 使用UUID做主键
猜你喜欢

Software testing interface testing JMeter 5.5 installation tutorial

Discussion on distributed unique ID generation scheme

Go zero micro Service Practice Series (VII. How to optimize such a high demand)

论文阅读《Large-Scale Direct SLAM with Stereo Cameras》

Number theory - division and blocking

Ansible automatic operation and maintenance

Remember the process of checking online MySQL deadlock. You should not only know curd, but also know the principle of locking
discrete "digital signal"]"/>Speech signal processing (III): speech signal analysis [continuous "analog signal" -- Sampling, quantization, coding -- > discrete "digital signal"]

C pointer advanced 2-- > function pointer array callback function simplifies calculator code, and implements qsort function based on callback function simulation

语音信号处理(二): 发声生理、听觉生理与听觉心理
随机推荐
写论文工具:LaTex在线网站
SYSTEMd debugging
Solr基础操作1
疫情下我离职一年,收入增长了10倍
基金的信息披露
声网自研传输层协议 AUT 的落地实践丨Dev for Dev 专栏
Redis client
Speech signal processing (III): speech signal analysis [continuous "analog signal" -- Sampling, quantization, coding -- > discrete "digital signal"]
SQL question brushing 595 Big country
Software testing interface testing postman testing tool interface testing process execution interface testing interface associated environment variables and global variables built-in dynamic parameter
Effective self summary of remote communication | community essay solicitation
基金的利润分配与税收
flutter 插件版本冲突的解决方法
Principe de réalisation de l'agent dynamique
Weekly Postgres world news 2022w25
Intranet penetration (NC)
Is it safe to open a stock account? Shanghai stock account opening.
Become the only key
Leetcode 1385. Distance value between two arrays
Mysql database: storage engine