当前位置:网站首页>[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
2022-07-30 15:32:00 【The sun is warm】
Directory
1. Customer Scenario
With the development of the sharing model, the shared power bank is developing rapidly. The shared power bank is an important branch of my country's energy supply system and an important part of new energy.
There are many doubts about the needs of the first container cloud customers, which can meet the customers' irregular high concurrency scenarios and ensure stable business expansion, which brings greater difficulties from the perspective of code adaptation and deployment.
2. Business challenges
1. The business peaks and valleys are uncertain. The business peaks are much higher than the daily business peaks, and the low peaks are also significantly reduced. The demand for flexibility in computing resources is very high.
2. The database has high performance requirements, and the proportion of read requests is high. With the advent of business peaks, there are also great demands on the elastic scaling of the database.
3. There are semi-transactional message requirements. Asynchronous decoupling capabilities are required for orders in progress, unpaid orders, and order completion.
3. Solutions
1. Serverless application engine SAE: In the combination of ECS and elastic scaling, it takes a few minutes to successfully pop up the computing power and wait for the application to start, and the flexibility is low. It is recommended to deploy front-end PHP applications through SAE, the deployment method is simple,The elastic scaling efficiency is increased to the 30-second level, the sensitivity is enhanced, the resource control is more flexible, and it is easier to cope with traffic peaks.
2. Relational database RDS: It supports read-write separation and vertical elastic scaling of the instance dimension. However, due to the architectural disadvantage of RDS, it takes a long time (half an hour) to expand the capacity of read-only nodes. It is often necessary to prepare resources in advance, and the waste of resources is obvious;It is recommended to migrate to PolarDB for MySQL. Based on the cloud-native product architecture, the expansion time of read-only nodes can reach the level of 5-10 minutes, and it also supports the ability to achieve vertical elastic scaling of the instance dimension together with DAS.
3. Message Queue RocketMQ version of distributed transaction messages can not only achieve decoupling between applications, but also ensure the final consistency of data.At the same time, traditional large transactions can be split into small transactions, which not only improves efficiency, but also prevents the overall rollback due to the unavailability of a related application, thus ensuring the availability of the core system to the greatest extent.
4. Customer Value
1. Deploying services through the serverless architecture improves the flexibility and flexibility of computing resources and increases the elastic efficiency by 80%.
2. Alibaba Cloud's leading elastic scaling technology and self-developed cloud-native database solution are used for database resources. The elastic scaling capability saves more than 70% of costs, and the efficiency of read-only nodes increases by more than 60%.
3. RocketMQ single-machine throughput of 100,000, supports 1 billion message accumulation, 0 messages are lost, and distributed architecture will not cause performance degradation due to accumulation
5. Knowledge points
1. For users with large differences in business peaks and valleys, the ECS+ESS product combination solution can meet the needs of basic elastic scenarios; if the customer's technology stack is suitable, the serverless architecture of SAE is more cost-effective and highly recommended.
2. The elastic capabilities of RDS and PolarDB are currently leading in technology. All the conveniences brought by the excellent architecture of PolarDB have fully supported users' business upgrades. It is recommended to choose PolarDB first.
3. RocketMQ is a self-developed product of Alibaba, which ensures that the message will be decoupled from the application without losing data, and at the same time, it will bring about the problem of data consistency, which is solved by the final consistency method of transaction characteristics.
6. Architecture diagram

边栏推荐
- 基于5G的仓储信息化解决方案2022
- The use and principle of distributed current limiting reduction RRateLimiter
- CVE-2022-33891 Apache Spark 命令注入复现
- 惊艳!京东T8纯手码的Redis核心原理手册,基础与源码齐下
- 分布式限流 redission RRateLimiter 的使用及原理
- Could not acquire management access for administration
- 阿里CTO程立:阿里巴巴的开源历程、理念和实践
- SSE for Web Message Push
- 4位资深专家多年大厂经验分享出Flink技术内幕架构设计与实现原理
- 数字量输入模块io
猜你喜欢

泡沫褪去,DeFi还剩下什么

MongoDB启动报错 Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)

瑞吉外卖项目实战Day02

存储器映射、位带操作

基于FPGA的DDS任意波形输出

超T动力 盈运天下——中国重汽黄河/豪沃WP14T产品首发荣耀上市!

Alluxio for Presto fu can across the cloud self-service ability

那些破釜沉舟入局Web3.0的互联网精英都怎么样了?

SLF4J的使用

Smart Contract Security - Private Data Access
随机推荐
惊艳!京东T8纯手码的Redis核心原理手册,基础与源码齐下
Lock wait timeout exceeded solution
面试何惧调优!腾讯技术官私藏的性能优化方案手册,原理实战齐全
DDS Arbitrary Waveform Output Based on FPGA
视频加密的误解
MaxWell抓取数据
[机缘参悟-53]:《素书》-3-修身养志[求人之志章第三]
国内数字藏品的乱象与未来
LeetCode_数位枚举_困难_233.数字 1 的个数
ECCV 2022 | Towards Data Efficient Transformer Object Detectors
Flink optimization
延时消息队列
GUCCI、LV等奢侈品巨头如何布局元宇宙的,其他品牌应该跟上吗?
第十一章 api mgmnt API 参考
Huawei issues another summoning order for "Genius Boys"!He, who had given up an annual salary of 3.6 million, also made his debut
What is Ts?
嵌入式开发:嵌入式基础知识——正确启动固件项目的 10 条建议
(Crypto essential dry goods) Detailed analysis of the current NFT trading markets
4 senior experts share the insider architecture design and implementation principles of Flink technology with years of experience in large factories
基于5G的仓储信息化解决方案2022