Skip to content

Commit e743408

Browse files
committed
art3-2
1 parent 4c98c26 commit e743408

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

articles/app-service/routine-maintenance-downtime.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ When a File Server role needs to be updated, the storage volume used by the appl
3030

3131
When a Worker role is updated, the update mechanism similarly swaps in a new updated Worker role. The worker is swapped as follows:
3232

33-
- An updated Worker is added to the ASP.
34-
- The application is started on the new Worker.
35-
- Our infrastructure waits for the application to start up.
36-
- New requests are sent to the new worker instance.
37-
- Requests are allowed to complete on the old instance.
38-
- The old worker instance is removed from the ASP.
33+
1. An updated Worker is added to the ASP.
34+
1. The application is started on the new Worker.
35+
1. Our infrastructure waits for the application to start up.
36+
1. New requests are sent to the new worker instance.
37+
1. Requests are allowed to complete on the old instance.
38+
1. The old worker instance is removed from the ASP.
3939

4040
This sequence usually occurs once for each worker instance in the ASP and is spread out over minutes or hours depending on the size of the plan and scale unit.
4141

@@ -89,7 +89,7 @@ We recommend testing several scenarios
8989
- Multiple apps in a plan - if there are multiple apps in the same plan, perform all these tests simultaneously across all apps.
9090

9191

92-
#### Start up logging
92+
#### Startup logging
9393

9494
Having the ability to retroactively troubleshoot startup failures in production is a consideration that's separate from using testing to improve startup consistency. However, it's equally or more important since despite all our efforts, we might not be able to simulate all types of real-world failures in a test or QA environment. It's also commonly the weakest area for logging as initializing the logging infrastructure is another startup activity that must be performed. The order of operations for initializing the application is an important consideration for this reason and can become a chicken and egg type of problem. For example, if we need to configure logging based on a KeyVault reference, and we fail to obtain the KeyVault value, how do we log this failure? We might want to consider duplicating startup logging using a separate logging mechanism that doesn't depend on any other external factors. For example, logging these types of startup failures to the local disk. When you turn on a general logging feature, such as [.NET Core stdout logging](/aspnet/core/test/troubleshoot-azure-iis#aspnet-core-module-stdout-log-azure-app-service), it can be counter-productive as this logging keeps generating log data even after startup, and that can fill up the disk over time. This feature can be used strategically for troubleshooting reproducible startup failures.
9595

0 commit comments

Comments
 (0)