当前位置:网站首页>[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

边栏推荐
- 学习 MySQL 需要知道的 28 个小技巧
- Kubernetes应用管理深度剖析
- Redis cache penetration, breakdown, avalanche and consistency issues
- 5G-based Warehousing Informatization Solution 2022
- JUC common thread pool source learning 02 ( ThreadPoolExecutor thread pool )
- MaxWell scraped data
- LeetCode_数位枚举_困难_233.数字 1 的个数
- 2022最新 | 室外单目深度估计研究综述
- 泡沫褪去,DeFi还剩下什么
- 国内数字藏品的乱象与未来
猜你喜欢

四大首搭加持,美学、安全、操控、效率优势明显,比亚迪海豹售价20.98万元起售!

Flink实时数仓完结

ToDesk版本更新,引入RTC传输技术,是否早以替代向日葵远程控制?

Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!

SQL 优化这么做就对了!

视频切换播放的例子(视频切换范例)代码

MaxWell scraped data

机房布线的至高境界,美到窒息

CS内网横向移动 模拟渗透实操 超详细

ECCV 2022 | Towards Data Efficient Transformer Object Detectors
随机推荐
ToDesk版本更新,引入RTC传输技术,是否早以替代向日葵远程控制?
自动化办公|办公软件和亿图脑图MindMaster快捷键
《二舅》刷屏了!
延时消息队列
In-depth analysis of Kubernetes application management
数据库日期类型字段设计,应该如何选择?
MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)
华为再发「天才少年」召集令!曾放弃360万年薪的他也来首秀
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
(Crypto必备干货)详细分析目前NFT的几大交易市场
About the data synchronization delay of MySQL master-slave replication
Metaverse Post Office AI space-themed series of digital collections will be launched at 10:00 on July 30th "Yuanyou Digital Collection"
Allure Advanced - Dynamically Generate Report Content
websocket flv 客户端解封包
Flink本地UI运行
1700. 无法吃午餐的学生数量
What is Ts?
泡沫褪去,DeFi还剩下什么
【回归预测-CNN预测】基于卷积神经网络CNN实现数据回归预测附matlab代码
关于MySQL主从复制的数据同步延迟问题