Skip to content

Commit 84fa2d6

Browse files
authored
Merge pull request #188362 from zxue/master
Update autoscale doc for Azure API for FHIR
2 parents ab2ceed + ff90ea8 commit 84fa2d6

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

articles/healthcare-apis/azure-api-for-fhir/autoscale-azure-api-fhir.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: stevewohl
55
ms.service: healthcare-apis
66
ms.subservice: fhir
77
ms.topic: conceptual
8-
ms.date: 07/26/2021
8+
ms.date: 02/11/2022
99
ms.author: zxue
1010
---
1111

@@ -17,7 +17,11 @@ The Azure API for FHIR as a managed service allows customers to persist with FHI
1717

1818
By default, the Azure API for FHIR is set to manual scale. This option works well when the transaction workloads are known and consistent. Customers can adjust the throughput `RU/s` through the portal up to 10,000 and submit a request to increase the limit.
1919

20-
With autoscale, customers can run various workloads and the throughput `RU/s` are scaled up and down automatically without manual adjustments.
20+
The autoscale feature is designed to scale computing resources including the database throughput `RU/s` up and down automatically according to the workloads, thus eliminating the manual steps of adjusting allocated computing resources.
21+
22+
## What is the guidance on when to enable autoscale?
23+
24+
In general, customers should consider autoscale when their workloads vary signficantly and are unpredictable.
2125

2226
## How to enable autoscale?
2327

@@ -26,9 +30,15 @@ To enable the autoscale feature, you can create a one-time support ticket to req
2630
> [!NOTE]
2731
> The autoscale feature isn't available from the Azure portal.
2832
33+
## How to migrate to manual scale?
34+
35+
A support ticket is required to change autoscale to manual scale and specify the throughput RU/s. The minimum value for manual scale you can set it to is: `MAX (400, highest max RU/s ever provisioned / 100, current storage in GB * 40)`, rounded to the nearest 1000 `RU/s`. The numbers used here are different from those used in autoscale.
36+
37+
Once the change is completed, the new billing rates will be based on manual scale.
38+
2939
## How to adjust the maximum throughput RU/s?
3040

31-
When autoscale is enabled, the system calculates and sets the initial `Tmax` value. The scalability is governed by the maximum throughput `RU/s` value, or `Tmax`, and scales between `0.1 *Tmax` (or 10% `Tmax`) and `Tmax RU/s`.
41+
When autoscale is enabled, the system calculates and sets the initial `Tmax` value. The scalability is governed by the maximum throughput `RU/s` value, or `Tmax`, and scales between `0.1 *Tmax` (or 10% `Tmax`) and `Tmax RU/s`. The `Tmax` increases automatically as the total data size grows. To ensure maximum scalability, the `Tmax` value should be kept as-is. However, customers can request that the value be changed to something betweeen 10% and 100% of the `Tmax` value.
3242

3343
You can increase the max `RU/s` or `Tmax` value and go as high as the service supports. When the service is busy, the throughput `RU/s` are scaled up to the `Tmax` value. When the service is idle, the throughput `RU/s` are scaled down to 10% `Tmax` value.
3444

@@ -43,16 +53,26 @@ You can adjust the max `RU/s` or `Tmax` value through the portal if it's a valid
4353
>[!Note]
4454
>As data storage grows, the system will automatically increase the max throughput to the next highest RU/s that can support that level of storage.
4555
56+
## How to estimate throughput RU/s required?
4657

47-
## How to migrate to manual scale?
58+
The data size is one of several factors used in calculating the total throughput RU/s required for manual scale and autoscale. You can find the data size using the Metrics menu option under **Monitoring**. Start a new chart and select "Cosmos DB Collection Size" in the Metric dropdown box and "Max" in the "Aggregation" box.
4859

49-
A support ticket is required to change autoscale to manual scale and specify the throughput RU/s. The minimum value for manual scale you can set it to is: `MAX (400, highest max RU/s ever provisioned / 100, current storage in GB * 40)`, rounded to the nearest 1000 `RU/s`. The numbers used here are different from those used in autoscale.
60+
[ ![Screenshot of metrics_new_chart](media/cosmosdb/metrics-new-chart.png) ](media/cosmosdb/metrics-new-chart.png#lightbox)
5061

51-
Once the change is completed, the new billing rates will be based on manual scale.
62+
You should be able to see the Max data collection size over the time period selected. Change the "Time Range" if necessary, for example from "Last 30 minutes" to "Last 48 Hours".
63+
64+
[ ![Screenshot of cosmosdb_collection_size](media/cosmosdb/cosmosdb-collection-size.png) ](media/cosmosdb/cosmosdb-collection-size.png#lightbox)
65+
66+
Use the formular to calculate required RU/s.
67+
68+
- Manual scale: storage in GB * 40
69+
- Autoscale: storage in GB * 400
70+
71+
Keep in mind that this is only an estimate based on data size and that there are other factors that affect the required RU/s.
5272

5373
## What is the cost impact of autoscale?
5474

55-
The autoscale feature incurs costs because of managing the provisioned throughput units automatically. This cost increase doesn't apply to storage and runtime costs. For information about pricing, see [Azure API for FHIR pricing](https://azure.microsoft.com/pricing/details/azure-api-for-fhir/).
75+
The autoscale feature incurs costs because of managing the provisioned throughput units automatically. The actual costs depend on hourly usage, but keep in mind that there are minimum costs of 10% of `Tmax` for reserved throughput RU/s. However, this cost increase doesn't apply to storage and runtime costs. For information about pricing, see [Azure API for FHIR pricing](https://azure.microsoft.com/pricing/details/azure-api-for-fhir/).
5676

5777
>[!div class="nextstepaction"]
5878
>[About Azure API for FHIR](overview.md)
291 KB
Loading
559 KB
Loading

0 commit comments

Comments
 (0)