Microsoft Migrates a Real-Time Service to .NET Core for Performance Gains

Microsoft migrated the real-time co-authoring service in the Microsoft Office suite of applications from .NET Framework 4.7.2 to .NET 7 last year. They achieved 30% CPU reduction, 60% memory reduction, and 50% API latency reduction compared to the original service.

The service, known as Real-Time Channel (RTC) in Office, powers the simultaneous editing and collaboration inside Office documents, whether in desktop or web Office clients. It is worth mentioning that on social media, the most frequent comment about this feature is complaining that it’s not working correctly.

According to Microsoft, the service serves hundreds of millions of document sessions daily. The service is built on top of the SignalR web sockets library with added functionality for session management, notifications and routing. It is written in .NET Framework version 4.7.2, a supported version of the legacy .NET application development framework.

Read more here