当前位置:网站首页>Seven Devops practices to improve application performance
Seven Devops practices to improve application performance
2022-07-05 17:33:00 【Software testing network】
DevOps Mainly related to the cooperation between developers and operations , To improve the delivery and reliability of applications in production . The most common best practices aim to replace manual management between development and operations teams with more powerful Automation 、 Error prone program . This includes using CI/CD( Continuous integration and continuous delivery ) Automate delivery pipeline , Implement standardized configuration with containers , And configure the infrastructure as code . In terms of operation , Improve application reliability DevOps Best practices include improving the observability of applications , Increase monitoring , And automate cloud and infrastructure operations .

But how to improve the application 、 database 、 The performance of data pipeline and cloud infrastructure ? This article will share 7 Can affect performance and user experience DevOps Practice and method .
1. Build security practices in your applications from the start
DevOps The last thing the team needs is to deploy new functions with security vulnerabilities . Security interruption or degradation will affect the user experience and cause major business problems . One DevOps The best practice is , Through the cooperation with the information security department in terms of demand , test CI/CD Code vulnerability in the pipeline , And implement other security practices in software development , To achieve safe transfer .
Akamai Senior developer advocate of Mike Elissen say :“ A key component of application reliability is availability , Take appropriate measures to properly protect applications from Web Application attack 、DDoS Attacks, etc. may mean maintaining the difference between online and offline .”
Elissen say , The left shift is from DevOps Turn into DevSecOps Part of . He went on ,“ We see in the DevOps Add security ‘ Move left ’ It's becoming more and more obvious , Finally, a more powerful devsecops Culture , And make more developers aware of and responsible for the security of their applications .”
2. Standardized architecture and infrastructure blueprint
Quali Vice president of product management Amir Rozenberg Pointed out a problem that affects team performance . He said :“ many DevOps The team found itself organizing the confusion of the definition of organic growth application infrastructure , These definitions were developed in good faith at an early stage , To improve the efficiency of the team in the software development lifecycle .”
Rozenberg inquiry DevOps Whether the team should adopt a hands-on approach to create the environment , Or whether the organization should create standards . He said :“ The recommended method is to build a central team , Model the environment in the form of a blueprint , To make them reliable 、 Reusability and compliance . then , They need to be able to distribute these infrastructure definitions , So that business members can use them through quick self-service , Whether it's integrated into an automated pipeline or manually .”
3. stay CI/CD Establish observability and continuous testing in the pipeline
66degrees Of DevOps director Matt Sollie Think CI/CD You can do more than just package and push the code . He said :“ Not all DevOps Principles are as fascinating or visible as continuous delivery or building everything into code , But they are equally important . Continuous integration is mature DevOps An integral part of the situation , It can greatly improve the reliability of applications , But goals are needed 、 Vision and time can be built in a meaningful way .”
Sollie admit , Achieving reliability and performance goals requires more than foresight , You also need to invest in practice and optimizing the architecture .“ Observability is a key and expensive principle , Because reliability is not on or off , Detailed data collection is needed . With all cloud computing services , Choosing the right tools or services for work can bring inherent reliability and performance advantages .”
What agile development teams should implement in their pipeline to improve performance ? Here are some suggestions :
- Implement continuous testing before increasing the frequency of deployment
- Consider using service virtualization to test microservices and third parties API
- Ensure observable CI/CD Pipeline to improve fault detection and isolate pipeline problems
4. Use feature flags and Canary version control deployment
Deployment does not have to be an absolute transformation of all changes for all users at once . The function flags in the code help to configure and control the availability of functions , The Canary release strategy makes DevOps The team can launch new functions slowly and methodically .
LaunchDarkly Chief technology officer and co-founder of John Kodumal Add :“ Function management , Especially the function signs , It is rapidly becoming the preferred development practice to improve the overall reliability and performance of applications , At the same time, it allows developers to constantly innovate . By using function marks , Developers can test function updates before production , In order to solve the problem before release .”
These controls improve reliability and performance , It also helps the development team minimize disruption .Kodumal say :“ Function flags improve performance , At the same time, it provides the necessary control for the development team to update the application without interruption or downtime .”
5. Establish strict observability and monitoring standards
Now focus on DevOps Operation and maintenance of responsibilities , Teams should consider several best practices to improve application performance , This includes developing observability standards and improving monitoring .
Mindee Director of developer Relations Frédéric Harper say :“ DevOps Strict monitoring and observability processes must be implemented , To ensure that every part of the application works properly and the server process runs smoothly . By protecting this element , DevOps Teams can collect valuable information , To understand how users use the application , May prevent future problems , Easier to support customers , And improve business or architectural decisions based on real data .”
6. Use AIOps And automated extended monitoring
stay web 2.0 Time , When there is an interruption or performance problem , The operation and maintenance personnel only have a few log files and monitoring tools to view . Now , Running microservices 、 Serverless applications and multi cloud databases mean that more data and tools are needed to solve events and determine the root cause of problems .AIops The platform can centrally monitor data , Use machine learning to correlate alarms , And help operators automatically respond and recover across multiple platforms , This helps minimize performance impact .
BigPanda Vice president of product marketing Mohan Kompella Agree with this :“AIOps The platform can help DevOps The team maintains the autonomy and flexibility of the tools , It also provides centralized event responders with the visibility they need , Make it the first line of defense against interruption .”
7. Definition SLO And wrong budgets
DevOps The team should balance which practices generate the greatest benefits and address risks . This requires the team to DevOps Priority is measured 、 Learning and collaboration , This is not easy when the benefits may not be realized within months or years after the implementation of practices and tools .
One way to prioritize is to use site reliability engineering practices 、 Define service level objectives (SLO) And using the wrong budget . When an application or microservice exceeds its wrong budget , It will be to DevOps The team sends a signal , To find the cause and focus on the solution .
Nobl9 Chief operating officer of Kit Merker say :“ Service level goals set clear goals for the engineering team , In order to better decide how to prioritize the work . Developers and ITop We can not only focus on Technology , You can also turn to service-oriented .”
DevOps The team has a lot to do , DevOps Best practices help teams strike a balance between accelerating development and improving reliability and performance . The key to success may lie in defining problem statements 、 Debate method 、 Iterative solutions and measuring impact .
Original title :7 devops practices to improve application performance
边栏推荐
- Count the running time of PHP program and set the maximum running time of PHP
- 十个顶级自动化和编排工具
- Check the WiFi password connected to your computer
- 基于Redis实现延时队列的优化方案小结
- 2022 information system management engineer examination outline
- 漫画:寻找股票买入卖出的最佳时机
- BigDecimal除法的精度问题
- CMake教程Step1(基本起点)
- 得知女儿被猥亵,35岁男子将对方打至轻伤二级,法院作出不起诉决定
- 华为云云原生容器综合竞争力,中国第一!
猜你喜欢

Judge whether a number is a prime number (prime number)
MySQL queries the latest qualified data rows

Count the running time of PHP program and set the maximum running time of PHP

How to write a full score project document | acquisition technology

CMake教程Step1(基本起点)

Short the command line via jar manifest or via a classpath file and rerun

thinkphp模板的使用

机器学习01:绪论

Rider 设置选中单词侧边高亮,去除警告建议高亮
Tips for extracting JSON fields from MySQL
随机推荐
Winedt common shortcut key modify shortcut key latex compile button
机器学习01:绪论
Complete solution instance of Oracle shrink table space
Beijing internal promotion | the machine learning group of Microsoft Research Asia recruits full-time researchers in nlp/ speech synthesis and other directions
Humi analysis: the integrated application of industrial Internet identity analysis and enterprise information system
mysql如何使用JSON_EXTRACT()取json值
Flow characteristics of kitchen knife, ant sword, ice scorpion and Godzilla
ThoughtWorks global CTO: build the architecture according to needs, and excessive engineering will only "waste people and money"
北京内推 | 微软亚洲研究院机器学习组招聘NLP/语音合成等方向全职研究员
独立开发,不失为程序员的一条出路
How to write a full score project document | acquisition technology
Oracle缩表空间的完整解决实例
IDEA 项目启动报错 Shorten the command line via JAR manifest or via a classpath file and rerun.
What are the precautions for MySQL group by
普通程序员看代码,顶级程序员看趋势
Embedded-c Language-4
Machine learning 02: model evaluation
Debug kernel code through proc interface
漫画:寻找无序数组的第k大元素(修订版)
解决“双击pdf文件,弹出”请安装evernote程序