What The Hack - Cosmic Troubleshooting
November 15, 2022 ยท View on GitHub
Introduction
The Cosmic Troubleshooting hack will allow you to upskill in identifying and resolving performance issues in Azure Cosmos DB due to bad design decisions. It follows a real-world scenario (Retail) where the application is facing severe performance issues and needs to be re-architected sightly to take advantage of the full power of Azure Cosmos DB.
We estimate that running this hack end-to-end will take approximately 8 hours, with an Azure cost of about $50 or less.
Learning Objectives
In this hack you will be diving deeper into Azure Cosmos DB data modelling, monitoring and troubleshooting and in general, applying best practices. You will learn about a lot of Azure Cosmos DB features such as:
- Partitioning
- Capacity models
- Indexing
- Backup
- Monitoring and Security
- Synapse Link
- Change Feed
- and probably a lot more
We are expecting students to have the following skills within their team:
- Deep knowledge of Azure Cosmos DB features, both from developer perspective as well as database administration
- Experience with .NET C# coding and patterns
- Basic Azure Synapse Analytics knowledge, including basic Spark and SQL Serverless
Challenges
- Challenge 00: Prerequisites - Ready, Set, GO!
- Prepare your workstation to work with Azure.
- Challenge 01: What is Going On?
- Troubleshoot the performance issues
- Challenge 02: Time to Fix Things
- Implement planned changes
- Challenge 03: Automate Order Processing
- Automate processing of submitted orders
- Challenge 04: Time to Analyze Data
- Integrate clickstream data and plan for analyzing
- Challenge 05: Going Global
- Multi-region deployment of the application/database
- Challenge 06: Securing the Data
- Let's make sure we prevent bad things from happening.
Prerequisites
- Your own Azure subscription with Owner access
- Visual Studio Code
- Azure CLI
Contributors
- Ioannis Stavrinides
- Vaclav Jirovsky