写点什么

WeChat Moments Performance Analysis

作者:David
  • 2022-10-15
    澳大利亚
  • 本文字数:535 字

    阅读完需:约 1 分钟

Capacity Estimation

Over 330 million of WeChat’s (known as Weixin in China) 1.2883 billion monthly active users use video calling. 780 million users are on the social networking section WeChat Moments and 120 million publish updates. The content network WeChat Official Account has 360 million users.

Post

There are 120 million users who publish moments every day. Let's assume each user publishes two posts daily, so we have 240 million daily posts.

Using the 20/80 rule, we assume 80% of the posts were made within 20% of the time (24h).

TPS = 120 million x 2 x 80% / (24h x 20%) ~= 12k

Read

We have 780 million daily active users, let's assume each user opens moments 4 times per day.

With the same 20/80 rule. The QPS is

QPS = 780 million x 4 x 80% / (24h x 20%) ~= 144k

Like

Let's say everyone is super nice and sending ten likes per day, so the total daily likes will be

TPS = 780 million x 10 x 80% / (24h x 20%) ~= 361k

Comment

Let's assume every user makes 5 comments per day.

TPS = 780 million x 5 x 80% / (24h x 20%) ~= 180k


Singe Node vs Cluster


High-Level Architecture


发布于: 刚刚阅读数: 3
用户头像

David

关注

还未添加个人签名 2018-03-18 加入

还未添加个人简介

评论

发布
暂无评论
WeChat Moments Performance Analysis_David_InfoQ写作社区