当前位置:网站首页>Ultimate efficiency is the foundation for the cloud native database tdsql-c to settle down
Ultimate efficiency is the foundation for the cloud native database tdsql-c to settle down
2022-06-22 15:28:00 【Tencent cloud database】
What kind of database is needed in the cloud native era ? How to build a database service ? Chengbin, technical director of Tencent cloud database, believes that , In the future, cloud database will be upgraded from hosting as the core to extreme efficiency , Help business reduce cost and increase efficiency . From the perspective of database management and Application , Cloud manufacturers 、 resources 、 Customer triangle There are three dimensions of efficiency behind it : System efficiency 、 Operational efficiency 、 Business efficiency , When these efficiencies are at their best , Costs will fall sharply . How Tencent cloud database revolves around these three dimensions , To create the ultimate efficiency to enable the business ?
Brought in this period Chengbin, technical director of Tencent cloud database The sharing record at the main forum of the 4th cloud native industry conference :
Video full :《 Evolution of database technology in the cloud native era 》
Hello everyone , I am Chengbin, an engineer of Tencent cloud database , On behalf of the team, I would like to talk with you about the thinking on database technology in the cloud native era and the implementation practice of Tencent cloud in the cloud native database field .
Business background

We observed that , stay IT Architecture area , Cloud Nativity has replaced cloud computing , Ushered in a new stage . Inside Tencent , Each business system will look at its own cloud origin maturity score , Constantly optimize and improve . Cloud native compared to cloud computing , There are three changes . On application scenarios , From the pan Internet industry to a whole industry digitalization , Thus, the data scale is further increased . Infrastructure , It has also changed . On the cloud IaaS PaaS Become more mature , startup 、 The unicorn 、 Head listed companies and even applications related to people's livelihood , their IT The architecture is built on the cloud .
These changes caused our team to think , What kind of database is needed in the cloud native era ? How do we build database services ?
We think , Cloud databases should be upgraded from hosting to extreme efficiency .

Before talking about ultimate efficiency , Let's take a look at the triangle behind the cloud database . The triangular relationship is that cloud vendors use and manage hardware resources , Provide services to customers , Customers use the resources behind services to conduct business activities . There are three efficiencies behind it , System efficiency 、 Operational efficiency and business efficiency .
first System efficiency , System efficiency refers to two levels of things , One level is to put CPU Memory 、 All the hard disk resources are used up , Don't idle ; Another level is , More requests can be processed with the same resources .
the second Operational efficiency Cloud manufacturers' online large-scale operation efficiency , Database tuning is common ,1w An example 1 individual DBA It can be done ,10w Instances or 100w An example ,DBA The number of people needs 10 individual 、100 A? ?
Third Business efficiency It refers to how to help businesses improve development efficiency . for instance , The game needs the same service all over the world , The level of business architects has been tested before , If the database can provide low latency global deployment capability , Can it greatly simplify the business architecture ?
Let's think about it , These three efficiencies point to the same word “ cost ”.
System efficiency
Next , I will share with you , How does Tencent cloud database create extreme efficiency to help businesses reduce costs and increase efficiency .

Traditional database architectures are designed based on resource integration , This design brings benefits in terms of delay , But lost flexibility and flexibility , It seriously affects the efficiency of the system .
We designed Cloud native architecture for computing and storage separation , Pool storage , Computing stateless , Greatly improve the utilization of system resources . Changes in architecture will certainly introduce many new problems , For example, the network delay problem of computing storage separation . In addition to introducing RDMA The network reduces the network delay . We also Innovative introduction of multi tier storage : The L2 cache is added to the computing node , Cache the hot data locally , Reduce remote IO. On storage , In addition to the multi copy mechanism , We have also achieved Erasure code + Compression , Without reducing data reliability , Provides less than 1 Low cost storage capabilities for replicas .
Do a good job in system efficiency Be sure to ensure the efficiency of the architecture first . What is architectural efficiency ? for instance , It is also a computing storage separation architecture , Insert a 1KB Record , How much data needs to be transferred to the back-end storage ? Many products have to be transmitted 16KB, Magnified 15 times , And our architecture design only needs 1KB Just add a few bytes .
A lot of times , The magnitude brought about by the architecture gap, It's hard to compensate by software engineering . therefore , We especially pursue the ultimate efficiency in architecture , Because the product needs an excellent gene .
Operational efficiency

About operational efficiency , I mainly share two points with you , Business continuity and autonomy .
For business continuity , We proposed Panoramic business continuity solutions , Introduced Failure prediction mechanism To proactively deal with potential hazards in advance . On failover , We go through Cache preheating To achieve the lossless switching of the business .
In terms of fault diagnosis capability , Combined with customer load change and multi-level detection information , Generate Full link diagnostic report and Root cause analysis , Improve operation and maintenance efficiency and continuously find and optimize more abnormal scenarios .
Compared with traditional database architecture , We Reduce the time of business continuity failure scenario switching 74%.

With the rapid growth of business scale , Customer diversification , There are more and more cases of irrational use of databases , Database problem analysis and tuning have brought us great challenges .
How to solve this problem ? We're on AI for system This road . adopt DB combination AI, use AI Instead of manual tuning 、 The diagnosis 、 Optimize .
Let's start with database parameter invocation , Through deep reinforcement learning, etc AI Algorithm No human intervention is required to realize parameter adjustment . On this basis , Through the precipitation of internal expert experience and the combination of various Al Algorithm , The tuning speed can be reduced by increasing the concurrency .
At present, we support thousands of parameter adjustment scenarios 、 The online application performance is improved at the highest level 235%, Tuning timeliness is reduced from a few hours to a few minutes , While saving manpower , It also greatly reduces the tuning time .
The above intelligent parameter adjustment results are also supported by the database SIGMOD Double employment , Click on extended reading 《 Three papers were selected for the international summit SIGMOD, Great Tencent cloud database 》.
Business efficiency

Business efficiency , We first thought of the original core of cloud primordial : Ultimate flexibility , Pay as you go , No use, no pay . for instance , In the instance of the public cloud , There are quite a number of small and medium-sized long tail businesses , Such as periodic development testing 、 Personal blog 、 Low frequency data search, etc , Their workload on the database is not high , More sensitive to use costs .
For such users , Break the traditional product form with fixed specifications , Create the computing resources according to the business load Auto scale , Charge according to actual use , No use, no charge serverless form . In order to realize the automatic scaling of computing resources , The database is Start stop A lot of optimizations have been made in the aspect of , Ensure that the system can complete shutdown and restart recovery within a few seconds , Enhance the ultimate business experience .
At present, our database serverless The product exceeds only in wechat ecology 50W Applet developers provide database bases , Click on extended reading 《 Tencent cloud database cooperates with wechat cloud hosting , Help business reduce cost and increase efficiency 》.

We've found that socializing 、 game 、 Multinational enterprises represented by advertising have a big pain point when using databases , Businesses usually deploy applications in many places around the world , for example , The game goes out to sea , Players log in to accounts all over the world . To ensure the login experience , Multiple account databases will be deployed around the world , And realize the database synchronization between each other , This requires a lot of manpower and energy to maintain . Customers need a database that can be synchronized globally and accessed nearby , To simplify the application architecture .
In response to this question , We are about to launch the global database function , Provide cross Region Deployment capability , And provide access points everywhere , It is convenient for customers to read and write nearby . Through physical log replication technology , It solves the delay problem of cross region replication .

It is not enough to provide users with a good database engine , To improve business efficiency , It also needs to be provided for users Provide all kinds of convenient and easy-to-use SaaS Tools .
Tencent cloud native database provides a variety of SaaS It's a tool , for example , Database agents help businesses cope with traffic peaks with high performance , The database autonomy tool intelligent tuning helps customers improve the overall system level performance SQL performance , Database encryption 、 Back up 、 Auditing the full link helps secure enterprise data 、 More compliant .

stay Mixed load processing scenarios On , We also have an integrated design , Through a system , Provide... In a way that is transparent to the business OLTP and OLAP Two data query capabilities , The current gray level is medium , It will be online soon .
Future outlook

In the future, we will continue to explore The advanced nature of the structure 、 Extreme software engineering capability . meanwhile , We will deeply understand the customer's business scenarios , Put the architecture capability 、 Software engineering capabilities cover more business scenarios . such as , Explore the fusion of data models , One library for multiple purposes 、 Use unified framework to support more mixed load handling , To help businesses reduce the complexity of database architecture , So as to improve the application efficiency .
Again , We continue to practice AI for system, From plug-in intelligence to embedded intelligence , Let the database achieve the highest level of autonomy . We continue to make progress on the road of database with optimal efficiency .
That's all for today's sharing , Thank you again and the cloud native industry conference , thank you .
边栏推荐
- U++ operator learning notes
- Runmaide medical passed the hearing: Ping An capital was a shareholder with a loss of 630million during the year
- 好风凭借力 – 使用Babelfish 加速迁移 SQL Server 的代码转换实践
- 数据库连接池:压力测试
- 【题目精刷】2023禾赛-FPGA
- 得物技术复杂 C 端项目的重构实践
- SDVO:LDSO+语义,直接法语义SLAM(RAL 2022)
- flutter video_player實現監聽和自動播放下一首歌曲
- OpenVINO CPU加速调研
- Tdengine connector goes online Google Data Studio store
猜你喜欢

推动制造业高效增长,用友U9 cloud不断精进背后的密码

RealNetworks vs. 微软:早期流媒体行业之争
![[Zhejiang University] information sharing of the first and second postgraduate entrance examinations](/img/15/298ea6f7367741e1e085007c498e51.jpg)
[Zhejiang University] information sharing of the first and second postgraduate entrance examinations

壹连科技冲刺深交所:年营收14亿 65%收入来自宁德时代

基于最小化三维NDT距离的快速精确点云配准

New hybrid architecture iformer! Flexible migration of convolution and maximum pooling to transformer

Wallys/DR7915-wifi6-MT7915-MT7975-2T2R-support-OpenWRT-802.11AX-supporting-MiniPCIe

RealNetworks vs. Microsoft: the battle in the early streaming media industry

Recommendation of individual visa free payment scheme

专业“搬砖”老司机总结的 12 条 SQL 优化方案,非常实用!
随机推荐
U++ programming array learning notes
数据库连接池:压力测试
"Forget to learn again" shell process control - 38. Introduction to while loop and until loop
曾经,我同时兼职5份工作,只为给女友买个新款耳环......
The summary of high concurrency experience under the billion level traffic for many years is written in this book without reservation
I rely on the sideline to buy a house in full one year: the industry you despise will make a lot of money in the next ten years!
『忘了再学』Shell流程控制 — 38、while循环和until循环介绍
Flutter video Le lecteur écoute et joue automatiquement la prochaine chanson
Reconstruction practice of complex C-end project of acquisition technology
极致效率,云原生数据库TDSQL-C安身立命的根本
谷歌竞价账户可以探测到全球市场吗?
网站存在的价值是什么?为什么要搭建独立站
Fast and accurate point cloud registration based on minimizing 3D NDT distance
Struggle, programmer -- Chapter 44: eight hundred miles under one's command, fifty strings turning over the Great Wall
SDVO:LDSO+语义,直接法语义SLAM(RAL 2022)
OpenVINO CPU加速调研
ROS2前置基础教程 | 使用CMakeLists.txt编译ROS2节点
[live broadcast review] battle code pioneer phase VI: build a test subsystem and empower developers to provide
Countdown to the conference - Amazon cloud technology innovation conference invites you to build a new AI engine!
FreeRtos 任务优先级和中断优先级