Microsoft Claims Reduction in Cloud Cost from Migrating Internal Services to .NET 6 – InfoQ.com

Microsoft Claims Reduction in Cloud Cost from Migrating Internal Services to .NET 6 – InfoQ.com

Microsoft Claims Reduction in Cloud Cost from Migrating Internal Services to .NET 6 – InfoQ.com 0 0 Alan Dickson

Live Webinar and Q&A: Top 10 Innovations in the NoSQL Cassandra Ecosystem (Live Webinar October 18, 2022) Save Your Seat
Facilitating the Spread of Knowledge and Innovation in Professional Software Development


Matthew Singer and Jeff Balk discuss similiarities and differences among multiple high performing CPU architectures.
In this eMag on “Modern Data Architectures, Pipelines and Streams”, you’ll find up-to-date case studies and real-world data architectures from technology SME’s and leading data practitioners in the industry.
In a web-based service, a slowdown in request processing can eventually make your service unavailable. Chances are, not all requests need to be processed right away. Some of them just need an acknowledgement of receipt. Have you ever asked yourself: “Would I benefit from asynchronous processing of requests? If so, how would I make such a change in a live, large-scale mission critical system?”
In order to provide employees with the flexibility to work where they want while also maintaining a strong culture of belonging and connection, tech leaders need to talk to the C-Suite and their HR departments about leveraging technology tools that have been proven to boost engagement and employee retention.
A good incident management framework can help organizations manage the chaos of an outage more effectively leading to shorter incident durations and tighter feedback loops. This article introduces the components necessary for a healthy incident management process.
Understand the emerging software trends you should pay attention to. Attend in-person on Oct 24-28, 2022.
Make the right decisions by uncovering how senior software developers at early adopter companies are adopting emerging trends. Register Now.
Adopt the right emerging trends to solve your complex engineering challenges. Register Now.
Your monthly guide to all the topics, technologies and techniques that every professional needs to know about. Subscribe for free.
InfoQ Homepage News Microsoft Claims Reduction in Cloud Cost from Migrating Internal Services to .NET 6
Oct 03, 2022 2 min read
by
Edin Kapić
Microsoft has migrated several internal services running on the Azure cloud from .NET Framework to .NET 6, which the company claims has reduced the cost of cloud infrastructure by 29%, while simultaneously increasing performance and latency reduction by up to 50%.
Microsoft released .NET 6 in November 2021, announcing massive performance improvements ‘all over the board’. The performance improvements of .NET 6 are mainly due to optimisations in JIT (just-in-time) compiler, garbage collector, moving threading code from unmanaged to managed code, optimising async operations in several scenarios, and improving the performance of data structures such as arrays or file system access classes.
Since the release, Microsoft and other companies have shared experiences and results from migrating older versions of .NET to .NET 6.
Azure Active Directory gateway service moved to .NET 6 in September 2021, when the release candidate versions were available. They claimed a 30% decrease in CPU usage while hosting the same workload of requests per second. During the migration, they found some minor issues, and they coordinated with the .NET team to fix them. One of the biggest changes was removing the previous dependency on IIS to serve HTTP requests using HTTP.sys directly from Windows operating system.
Microsoft Commerce, a collection of around 700 revenue-related microservices, experienced a long migration towards .NET Core starting in 2019. Over time, the team migrated from Azure Windows VMs to Linux Kubernetes clusters, also migrating the .NET Framework to .NET Core 3.1, then .NET 5, and finally .NET 6. They observed improvements of 78% latency reduction in some cases, while the final Azure cost savings were around 30% in CPU usage. During the migration, the Microsoft Commerce team also removed some implicit Windows dependencies and moved away from IIS towards a cross-platform Kestrel web server.
Microsoft’s Teams infrastructure platform, called IC3 (Intelligent Conversations and Communications Cloud), also migrated to .NET 6 in May 2022. They claimed a 29% reduction in Azure compute costs due to getting the same throughput with fewer virtual machines, and a 30-50% latency reduction while increasing the stability and reliability of the services. While the migration is not yet complete, more than a third of the 200 services already run on the latest long-term supported version of .NET. The team invested heavily in analysing the dependencies of their .NET code and mitigated the risk of migration using shims and running code side-by-side.
Azure CosmosDB API gateway migrated to .NET 6 in January 2022. They claimed significant CPU usage reduction, memory footprint reduction and latency reduced to a fifth of the previous one. The team highlighted improvements in HTTP request handling in the Kestrel server, ValueTask optimisations for asynchronous operations, and memory-intensive operations’ support with Span structures in .NET 6.
Azure Web Applications, one of the most used services in Azure for web application developers, migrated their implementation during the first half of 2022 from IIS to Kestrel and YARP (an open-source reverse proxy) with .NET 6. They claimed almost 80% of the increase in throughput and a significant CPU usage reduction. Removing Windows dependencies with Kestrel and .NET 6 enabled them to use the same codebase for their Windows and Linux web application services, reducing the cost of maintenance.
Open-source .NET projects are also benefiting from the .NET 6 performance improvements. A service that reads and processes AIS messages, broadcasted by maritime traffic, claims 20% performance improvement with no code changes at all, just migrating from .NET Core 3.1 to .NET 6.

Becoming an editor for InfoQ was one of the best decisions of my career. It has challenged me and helped me grow in so many ways. We’d love to have more people join our team.

Code, deploy, and scale Java your way.
Microsoft Azure supports your workload with abundant choices, whether you're working on a Java app, app server, or framework. Learn more.
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.
You need to Register an InfoQ account or or login to post comments. But there’s so much more behind being registered.
Get the most out of the InfoQ experience.
Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.
Real-world technical talks. No product pitches.
Practical ideas to inspire you and your team.
QCon San Francisco – Oct 24-28, In-person.

QCon San Francisco brings together the world’s most innovative senior software engineers across multiple domains to share their real-world implementation of emerging trends and practices.
Uncover emerging software trends and practices to solve your complex engineering challenges, without the product pitches.Save your spot now
InfoQ.com and all content copyright © 2006-2022 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we’ve ever worked with.
Privacy Notice, Terms And Conditions, Cookie Policy

source

    Would you like to receive notifications on latest updates? No Yes