Using probes and creating a custom health check
Your new football trading service is getting readily adopted by football fans. This service is used to exchange stickers with football players’ pictures on them between fans. To accelerate the process, the service caches some data in the application’s memory. You need to ensure that the cache is filled before you start serving requests.
Under normal conditions, the football trading service works fine; however, under heavy load, the application instances start degrading and after some instability, they end up being unresponsive. To counteract this, you prepare some stress tests in the lab environment. However, you realize that the application starts degrading because you have issues connecting to the database. At the same time, you realize that those kinds of issues happen when the application has more than 90 pending orders. While you find a definitive solution, you decide to expose when the application is unable to process...