Connections to database are flaky and causes random errors


Things are going fine. Everything is working, but all of a sudden the website starts to behave strange. Sometimes up, and sometimes down? It seems the connection to the database drops intermittently, resulting in errors and slow responses to the end users. What can it be? A broken cable? Or something else? In any case, the sales are dropping and you need to act! We need to deal with these situations in a 24x7 economy!

Learning objectives

In this challenge you will learn about

  • How to make an application more tolerant with flaky connections
  • How to add Application Insights to an application for monitoring