In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces you how to analyze the Serverless practice of online applications. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.
Serverless challenges for enterprise-class applications
Serverless technology is the third generation general computing technology after virtual machine and container. Compared with traditional back-end architecture, Serverless has the advantages of free operation and maintenance, cost saving, rapid deployment and delivery, flexibility and so on. In recent years, it has gained more and more attention and favor from enterprises and developers. However, there are still some challenges for enterprise-level applications.
According to a statistical report by consulting firm O'Reilly at the end of 2019, 40% of organizations are already using Serverless technology, and the remaining 60% believe that the biggest TOP 3 challenges are:
High development difficulty and entry threshold, difficulty in business lightweight, and inability to migrate existing applications smoothly;
Worried about being locked in by cloud vendors, such as Serverless products in the form of FaaS, each vendor wants to launch its own standards, lacking open source specifications and open source ecological support. A similar scenario played out in the container world until Kubernetes became the de facto standard, and Serverless was still looking for its own de facto standard;
How to easily debug, monitor, and deeply integrate existing businesses locally.
SAE Product Introduction
So how to solve the three mountains in front of Serverless technology landing? Let me share with you a Serverless PaaS platform (SAE) that has a low threshold and can be used directly without any code modification. It is the best choice for enterprise online business to smoothly go to the cloud.
SAE offers a more cost-effective application hosting solution. The bottom layer is based on the unified K8s technology base, which helps users shield complex IaaS layer and K8s cluster operation and maintenance, and provides computing resources, elasticity, isolation and other capabilities. Users only need to care about the specification and number of application instances.
In the application layer, in addition to providing lifecycle management and multi-release policies, it also provides monitoring, logging, and microservice governance capabilities to address application observability and governance requirements. At the same time, it provides advanced capabilities such as one-button start and stop, application scheduling, etc. to further improve efficiency and reduce costs. Core scenarios are mainly for online applications: microservice applications, Web applications, multilingual applications, etc.
In terms of developer tools, it is well integrated with CI/CD tools. Whether it is Jenkins or Cloud Effect, it can be directly deployed to SAE, or it can be deployed to the cloud with one click locally through Cloud Toolkit plug-in tools. It can be said that SAE covers the complete scenario of cloud application.
In addition to the extreme flexibility, operation-free, cost-saving features brought by the Serverless experience itself, SAE focuses on providing users with full-stack capabilities at the application layer, including enhanced support for microservices and integration of application-related capabilities, including configuration, monitoring, logging, traffic control, etc. Coupled with the transformation of the user zero code, this is also an important advantage that distinguishes SAE from other Serveless products and smoothly migrates enterprise online applications.
SAE has several typical use scenarios: one is to put the stock business on the cloud, especially microservices and Java applications, and at the same time, it also supports single applications in other languages to quickly go to the cloud/move to the station, so as to meet the ultimate delivery efficiency and one-stop experience out of the box. In terms of industry, SAE is especially suitable for online businesses with relatively large traffic fluctuations, such as e-commerce promotion, online education and other industry scenarios. In addition, SAE as an application PaaS can also be integrated by the upper industry SaaS to help users build industry SaaS faster.
Product core indicators
SAE has three core indicators: the container startup time is 20s (the indicator is defined as the time from pull image to container startup, excluding application startup time), and then we will optimize it to within 5 s through various technical optimizations to ensure the rapid expansion efficiency of users in sudden scenarios. The minimum specification supports 0.5core 1GiB, meeting the requirements of fine-grained resources. SAE can save 47 to 57 percent on deploying a development test environment compared to ECS.
best practices
Through the previous introduction, we understand the characteristics, advantages and application scenarios of the product, and finally give you a detailed introduction to several best practice cases of Serverless landing.
1. Low-threshold solutions for microservice architecture transformation
With the rapid growth of business, many enterprises are faced with the problem of single transformation to microservice architecture, or the ability of open source self-built microservice framework (Spring Cloud / Dubbo) can no longer meet the needs of enterprise stability and diversity. SAE provides out-of-the-box microservice capabilities and stability capabilities, which have enabled these enterprises to quickly complete the microservice architecture transformation with low thresholds, support the rapid launch of new businesses, and allow enterprises to focus on the business itself.
SAE is arguably the best microservices practice in the Serverless industry and the best Serverless practice in the microservices industry.
2. Cost reduction solution for development test environment without operation and maintenance and one-click start and stop
Medium and large enterprises have multiple sets of environments, often the development test and pre-launch environment are not used for 7*24 hours, the application examples are kept for a long time, the idle waste is very high, the CPU utilization rate of some enterprises is close to 0, and the cost reduction appeal is obvious. Through SAE one-click start-stop capability, these enterprises can flexibly release resources on demand, and only develop test environment can save 2/3 of machine cost, which is very considerable.
3. Precise capacity, extremely flexible solutions
E-commerce, security industry, etc. often have some unexpected sudden traffic peaks, before they are estimated in advance peak, according to the peak to keep ECS resources, but often capacity estimation is not accurate (resource waste or insufficient), more serious will even affect the SLA of the system.
After adopting the scheme of pressure measurement tool + SAE, the expected value of elasticity strategy is accurately set according to the pressure measurement result, and then compared with the real-time monitoring index, the system automatically performs expansion and contraction operation, no capacity planning is required, and the elasticity efficiency can be achieved in seconds, easily coping with peak test.
4. Building an efficient closed-loop DevOps system
SAE has built an efficient closed-loop DevOps system, covering the whole process of application development, deployment and operation and maintenance. Medium and large enterprises tend to deploy SAE applications using enterprise-class CI/CD tools Jenkis /Cloud Efficiency, completing the full link from Source Code-Build-Deploy. Small and medium-sized enterprises/individual developers often choose developer tools Maven plug-in, IDEA plug-in one-click deployment of applications to the cloud, convenient local debugging, improve the developer experience. After the deployment is completed, operation and maintenance state governance and diagnosis can be carried out, such as current limiting degradation, application diagnosis, data operation analysis, etc.
Serverless practices on how to parse online applications are shared here. I hope the above content can help you and learn more. If you think the article is good, you can share it so that more people can see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.