当前位置:网站首页>Several guesses about the design of Tencent conference number
Several guesses about the design of Tencent conference number
2022-06-23 23:31:00 【bisal(Chen Liu)】
It can be said that the epidemic has brought the greatest changes to our migrant workers , Home office , And this among them , The biggest impact on the working mode is even the online meeting , It used to be a conference room , Face to face communication , Now it's all on one screen , If there is a video conference, it's OK , Can see each other , It's like a conference , But most of them are meetings without video , Just facing a screen , As a friend said , The keynote speaker of this kind of meeting , Like a " An angry anchor ", Talk about things with everyone , No eye contact , No feedback , It's really embarrassing .
Since online meetings are so popular , There are many old 、 New online conferencing software , One of the most commonly used , It may be the Tencent conference , Simple 、 practical 、 Stable , Is the reason why many people choose him .
Everybody knows , Tencent meeting , Whether it's joining a meeting , Or create a quick meeting , Or book a meeting , Are identified by a conference number ,

If careful friends will notice , This conference number is a 9 Digit number , Suppose everyone can be 0-9 altogether 10 A digital ,10 Of 9 Power , yes 1000000000,10 Billion . let me put it another way , He should also support 10 Billion online meetings .
I wonder if you have tried , For example, set a 09:00-09:30 Conference , But actually 09:00 Before ,09:30 after , You can log in , And I tried to log in for a month ( This random measurement , Not necessarily very accurate ) Previous meeting number , But longer , The conference number is invalid .
therefore , According to the calculation just now , Although support 10 Billion conference numbers , But will there be any repetition of these numbers , Or because I have used all these numbers , It is forbidden to create new meetings ?
From the perspective of product function , This should not be possible . But how to achieve , I can't find any information , But you can make some guesses , In fact, it is related to system design .
(1) Each conference number , It should be created randomly , Because it's out of order , So it's not possible to just use something like a database sequence Or distributed auto increment ID The plan , It is likely to be a hybrid number generator scheme , For safety's sake , It also needs to be random . Functions like avoiding duplication may use sequences 、snowflake Equally distributed self increasing ID Characteristics of , But the scope is certain (10 Billion ), So there may be a design of weight judgment , For example, by caching ,key/value To judge the severity .
(2) 10 Billion is a definite value , This requires that each generated conference number , Validity period is required , A simple and crude way is to give a specific period of time , For example, starting from creation , Valid for one month . another " grace " The plan , Maybe just like Oracle And other relational databases LRU Linked list design , Least recently used queue , According to the current usage of the conference number , Dynamically eliminate the least used conference numbers , This will give users a good experience , But relatively speaking , In design and Implementation , It will be more complicated .
The stability of Tencent conference 、 Functional practicality 、 Ease of operation , Very outstanding , In fact, these are the foundations of similar software , Are the functions that users need most , Compared with many " tart " Similar software , At the product design level, there are still many places worth learning .
Recently updated articles :
《 China Super League and Guoan in the new season , Through the thorns 》
《Oracle Of CTAS Can I bring constraints and other attributes to the new table ?》
《" Red Alert " Game open source code brings us a shock 》
Article classification and indexing :
边栏推荐
- Million message IM system technical points sharing
- Fabric.js 手动加粗文本iText
- The Sandbox 与 BAYZ 达成合作,共同带动巴西的元宇宙发展
- MySQL事务隔离
- Flutter中的GetX状态管理用起来真的那么香吗?
- Tencent lightweight + pagoda building document online preview project kkfileview
- Is the geTx status management in the flutter really so good to use?
- HDLBits-> Circuits-> Arithmetic Circuitd-> 3-bit binary adder
- 抖音支付十万级 TPS 流量发券实践
- C # read the occupied size of memory module and hard disk
猜你喜欢

CS5213 HDMI转VGA带音频信号输出方案

Analysis of Alibaba cloud Tianchi competition -- prediction of o2o coupon

Generate post order traversal according to pre order traversal and mid order traversal

Nlog详解

短视频挺进在线音乐腹地

Detailed quaternion
![[observation] Dell technology + Intel aoteng Technology: leading storage innovation with](/img/cf/3e3eb6389693667edad534b556c15c.png)
[observation] Dell technology + Intel aoteng Technology: leading storage innovation with "nanosecond speed"

C# Winform 自定义进度条ProgressBar

抖音支付十万级 TPS 流量发券实践

Giants end up "setting up stalls" and big stalls fall into "bitter battle"
随机推荐
AndroidKotlin全面详细类使用语法学习指南
堡垒机安装pytorch,mmcv,mmclassification,并训练自己的数据集
TDD development mode process recommendation
[design] 1359- how umi3 implements plug-in architecture
Unknown character set index for field ‘255‘ received from server.
Pressure measuring tool platform problem case base
Construction of cache stack FIFO in different application scenarios for PLC data operation series (detailed algorithm explanation)
[js] remove the extra zero after the decimal point
Stm32 - - - - interruption externe
Graph theory (tree diameter)
【设计】1359- Umi3 如何实现插件化架构
评估和选择最佳学习模型的一些指标总结
Phpmailer sends mail PHP
The Sandbox 与 BAYZ 达成合作,共同带动巴西的元宇宙发展
国家邮政局等三部门:加强涉邮政快递个人信息安全治理,推行隐私面单、虚拟号码等个人信息去标识化技术
E: 无法获得锁 /var/lib/dpkg/lock
Generate post order traversal according to pre order traversal and mid order traversal
项目中常用到的 19 条 MySQL 优化
不同网络结构的特征也能进行对比学习?蚂蚁&美团&南大&阿里提出跨架构自监督视频表示学习方法CACL,性能SOTA!...
Summary of some indicators for evaluating and selecting the best learning model