当前位置:网站首页>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 :
边栏推荐
- The sandbox and bayz have reached cooperation to jointly drive the development of metauniverse in Brazil
- MySQL索引底层为什么用B+树?看完这篇文章,轻松应对面试。
- The latest February activity # 1 core 2G first year: 38 yuan / year! 2-core 4G light weight RMB 74 / year! Mysql database 19.9 yuan / year!!
- The 12 SQL optimization schemes summarized by professional "brick moving" old drivers are very practical!
- Install using snap in opencloudos NET 6
- [js] remove the extra zero after the decimal point
- Construction of cache stack FIFO in different application scenarios for PLC data operation series (detailed algorithm explanation)
- Bilibili × Blue bridge cloud course | online programming practice competition is new!
- 不同网络结构的特征也能进行对比学习?蚂蚁&美团&南大&阿里提出跨架构自监督视频表示学习方法CACL,性能SOTA!...
- Phpmailer sends mail PHP
猜你喜欢
云原生流水线工具汇总

WebService client request failed can not create a secure xmlinputfactory

How to index websites in Google

ASM文件系统 数据如何写和读数据

Practice of issuing vouchers for Tiktok payment of 100000 TPS traffic

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

Million message IM system technical points sharing

How can wechat video numbers be broadcast live on a PC?

【设计】1359- Umi3 如何实现插件化架构
Androidkotlin comprehensive and detailed class usage grammar learning guide
随机推荐
STM32-------外部中断
Analysis on the advantages and disadvantages of the best 12 project management systems at home and abroad
Four traversals of map sets
Eight models of data analysis: detailed PEST model
CS5213 HDMI转VGA带音频信号输出方案
Flutter中的GetX状态管理用起来真的那么香吗?
AIX系统月维护查什么(一)
kubernetes之常用核心资源对象
浩哥的博客之路
评估和选择最佳学习模型的一些指标总结
Ambire 指南:Arbitrum 奥德赛活动开始!第一周——跨链桥
MySQL transaction isolation
Talking about the knowledge of digital transformation
STM32 ------ external interrupt
How does the fortress connection key server associate with the server host?
The Sandbox 与 BAYZ 达成合作,共同带动巴西的元宇宙发展
Install using snap in opencloudos NET 6
Some explanations of Tim timer of embedded interface and STM32 template library function of NVIC
Detailed quaternion
Oracle关闭回收站