News

Visual Studio Team Services Stops Twice

When your goal is 99.999-percent uptime, there's a small crack in the window for downtime. That happened with Visual Studio Team Services last week. And it happened within a span of two days.

When Microsoft's cloud services guarantee is for 99.999-percent uptime, it means the window is cracked open ever so slightly for a period of downtime. That happened with Visual Studio Team Services withiin a span of two days just recently. Microsoft's Brian Harry detailed both stoppages in a pair of detailed blog posts (here and here).

The first stoppage occurred on February 3, at 3:30 GMT, with worldwide impact to the service. This incident kept VSTS quiet for three hours. As Harry noted in a blog, "We saw a large spike in response times from less than 10% of the requests coming from the browser. At this point alerts fired and we engaged our on-call DRIs." He said that the issue centered on missing Azure DNS entries, which occurred because of a change -- which, unknowingly, introduced a bug -- in how the team performs automated cleanup of DNS entries for inactive accounts. And this problem cascaded to another separate but related incident which was "was mitigated by failing over to the secondary SQL server."

Then on Feb. 4, at 9:11 GMT, users in large numbers started reporting login issues and slowness of response from VSTS. "The root cause is that we (the Team Services team) changed the SQL Azure query processor compat level from 100 (SQL Server 2008) to 120 (SQL Server 2014) on one of the SPS databases," said Harry. The change cascaded to other problems, which started to eat up memory as queries started to come in from users. From there, he explains in a fairly detailed and visual manner the incident response timeline up to final mitigation, which spanned five hours.

What is interesting about the two incidents is the thoroughness of reporting that Microsoft provided on these stoppages. "Those two post are a fascinating insight into incident response, problem solving and lessons learned," notes one commenter named Cedric. " They make a very interesting read for anybody involved in systems architecture and incident response team.

One interesting tidbit from the incidents that Harry revealed is that the visualizations he used to illustrate the problems he described in the blogs were created by a tool that's part of Application Insights called "Kusto," at least while it's in development. Harry explains: "Pay attention at the //Build/ conference.  We're going to be talking about it.  We've already got many dozens, maybe hundreds of services across Microsoft using it and it is ingesting/querying ~300TB of telemetry per day and growing VERY rapidly."

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube