The pros and cons of AI and ML in DevOps
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Source:-information-age.com
AI and ML are now common within most digital processes, but they bring faults as well as benefits when it comes to DevOps The pros and cons of AI and ML in DevOps image
AI and ML can be very beneficial, but they aren’t without their faults.
Machine learning (ML), and artificial intelligence (AI) in general, has been commonly used within DevOps to aid developers and engineers with tasks.
The technology is highly capable of speeding tasks up and getting them done around the clock without its human colleagues needing to be present, if it is trained properly.
It is here where problems with AI and ML implementation can occur; if not taught properly, AI can display some kind of bias, and successful deployment of new software isnât always a guarantee.
Add these possible issues to the challenge of getting staff on board with AI and ML implementation for the first time, and the relationship between this technology and DevOps may not always be the perfect match. With this in mind, letâs take a look at some pros and cons.
Understanding data
One common use case of AI and ML is to provide context to the various types of data a company has at its disposal. AI can be taught to categorise data according to its purpose quicker than engineers can.
This is a vital part of DevOps due to engineers needing to carefully examine code releases in order to ensure successful software deployment.
AI and ML will be essential to aiding developers in making sense of the information housed across various data warehouses,â said Kevin Dallas, CEO of Wind River. âIn fact, we believe it will become mandatory for analysing and processing data, as humans simply wonât be able to do it themselves.
âIt will enable developers to better understand and use the data at hand; for example, to understand not just the error, or the occurrence of a fault, but the detail of what happened in the run up to the fault.
âWhatâs clear is that AI/ML is a vital strategy decision for every form of data from management and diagnostics to business-based value insights.â
Finding flaws and solutions
A major part of DevOps is ensuring that all possible errors are quickly eradicated before new software is deployed and made available to end users.
Joao Neto, head of quality & acceleration at OutSystems, explained: âWith the right data, AI/ML can help us analyse our value streams and help us identify bottlenecks. It can detect inefficiencies and even alert or propose corrective actions.
âSmarter code analysis tools and automatic code-reviews will help us detect severe issues earlier and prevent them from being propagated downstream. Testing tools will also become smarter, helping developers identify test coverage gaps and defects.
âWe can easily extrapolate similar benefits to other practices and roles like security, architecture, performance, and user experience.â
Continuous trial and error
Neto continued by explaining the benefits of AI and ML in experimentation when it comes to DevOps.
âRunning experiments is not trivial and typically requires specialised skills that most teams donât have, such as data analysts,â he said.
âPicking adequate control groups and understanding if your data is statistically relevant is literally a science. AI/ML can help democratise experimentation and make it accessible to all software teams, maybe even to business roles.
âWe can also anticipate that by combining observability with ML techniques. Teams can understand and learn how their customers are using the product, what challenges customers face, and what specific situations lead to system failure.â
Possible problems with deployment
Itâs clear that AI and ML has an array of capabilities for benefitting DevOps processes, especially when carrying out analysis in the back end.
However, when it comes to deployment, developers and engineers may need to think more specifically about where itâs needed, as working with AI here may not turn out perfect every time.
âA lot of AI projects have been struggling, not so much with the back end analysis such as the building of predictive models, but more with the issue of how to deploy these assets into production,â said Peter van der Putten, director of AI systems at Pegasystems.
âTo some extent good old DevOps practices can come to the rescue here, such as automated testing, integration and deployment pipelines.
âBut there are also requirements specific to deploying AI assets, for example the integration of ethical bias checks, or checks on whether the models to be deployed pass minimal transparency and explainability requirements for the use case at hand.â
Focus on âweakâ AI has its downfalls
A criticism that has been made towards AI in DevOps is that it can distract engineering teams from the end goal, and from more human elements of processes that are just as vital to success.
âWhen it comes to tech and DevOps, weâre not talking about âstrong AIâ or âArtificial General Intelligenceâ that mimics the breadth of human understanding, but âsoftâ, or âweakâ AI, and specifically narrow, task-specific âintelligenceâ,â said Nigel Kersten, field CTO of Puppet. âWeâre not talking about systems that think, but really just referring to statistics paired with computational power being applied to a specific task.
âNow that sounds practical and useful, but is it useful to DevOps? Sure, but I strongly believe that focusing on this is dangerous and distracts from the actual benefits of a DevOps approach, which should always keep humans front and centre.
âI see far too many enterprise leaders looking to âAIâ and Robotic Process Automation as a way of dealing with the complexity and fragility of their IT environments instead of doing the work of applying systems thinking, streamlining processes, creating autonomous teams, adopting agile and lean methodologies, and creating an environment of incremental progress and continuous improvement.
âFocus on maximising the value of the intelligence your human employees have first before you start looking to the robots for answers. Once youâve done that, look to machine learning and statistics to augment your people, automating away even more of their soul-crushing work in narrow domains such as anomaly detection.â
The future of AI/ML within DevOps
While AI and ML has proven to be successful in speeding up DevOps as well as other areas of digital strategies, AI as a whole may need more time to develop and improve.
As this continues to be worked on by developers, what does the future hold for this technologyâs relationship with DevOps?
âAs the application of AI and ML in DevOps grows, weâll increasingly see companies benefit and drive value for the business from more real-time insights, whereby AI and ML frameworks deployed on active systems will be able to optimise the system based on real-time development, validation and operational data,â said Dallas.
âThese are the digital transformation conversations weâve been having with customers across the industries we serve. Companies are realising that they canât do things the traditional way and expect to get the type of results that the new world is looking for.â
We support technology leaders and businesses that utilise technology solutions with useful guides and advice. With remote working becoming the de facto due to the recent outbreak of coronavirus, our content can help smooth this transition for your business.