Skip to content

Commit 69b9839

Browse files
authored
Merge pull request #228758 from EXPEkesheth/patch-51
Update autoscale-azure-api-fhir.md
2 parents dcfcc47 + 03c2504 commit 69b9839

File tree

1 file changed

+34
-16
lines changed

1 file changed

+34
-16
lines changed

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

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,26 @@ ms.author: kesheth
1414

1515
Azure API for FHIR, as a managed service, allows customers to persist with Fast Healthcare Interoperability Resources (FHIR®) compliant healthcare data and exchange it securely through the service API. To accommodate different transaction workloads, customers can use manual scale or autoscale.
1616

17-
## What is autoscale?
17+
Azure API for FHIR provides scaling capabilities at database and compute level.
1818

19-
By default, 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 100,000 and submit a request to increase the limit.
19+
## Auto scale at Database level
2020

21-
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+
By default, Azure API for FHIR is set to manual for database scaling. This option works well when the transaction workloads are known and consistent. Customers can adjust the throughput `RU/s` through the portal up to 100,000 and submit a request to increase the limit.
2222

23-
## What is the guidance on when to enable autoscale?
23+
The autoscale feature is designed to scale Azure resources including the database throughput automatically according to the workloads, eliminating possible bottlenecks in the data layer.
2424

25-
In general, customers should consider autoscale when their workloads vary significantly and are unpredictable.
25+
Lets understand how to enable autoscaling at database level with next sections
26+
27+
### Guidance to enable autoscale
2628

27-
## How to enable autoscale?
29+
In general, customers should consider autoscale when their workloads vary significantly and are unpredictable.
2830

29-
To enable the autoscale feature, you can create a one-time support ticket to request it. The Microsoft support team will enable the autoscale feature based on the support priority.
31+
To enable the autoscale feature, customer needs to create a one-time support ticket to request it through Azure portal. The Microsoft support team enables the autoscale feature based on the support priority.
3032

3133
> [!NOTE]
3234
> The autoscale feature isn't available from the Azure portal.
3335
34-
## How to migrate to manual scale?
35-
36-
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.
37-
38-
Once the change is completed, the new billing rates will be based on manual scale.
39-
40-
## How to adjust the maximum throughput RU/s?
36+
### Autoscale for RU/s
4137

4238
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 between 10% and 100% of the `Tmax` value.
4339

@@ -54,7 +50,23 @@ You can adjust the max `RU/s` or `Tmax` value through the portal if it's a valid
5450
>[!Note]
5551
>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.
5652
57-
## How to estimate throughput RU/s required?
53+
## Autoscale at Compute Level
54+
55+
Autoscaling policies defined for FHIR service compute level consists:
56+
57+
* Scaling Trigger
58+
59+
Scaling Trigger describes when scaling of the service will be performed. Conditions that are defined in the trigger are checked periodically to determine if a service should be scaled or not. All triggers that are currently supported are Average CPU, Max Worker Thread, Average LogWrite, Average data IO.
60+
61+
* Scaling mechanism
62+
63+
The scaling mechanism is applied if the trigger check determines that scaling is necessary. Additionally, the scaling trigger won't be evaluated again until the scaling interval has expired, which is set to one minute for Azure API for FHIR.
64+
65+
To ensure the best possible outcome, we recommend customers to gradually increase their request rate to match the expected push rate, rather than pushing all requests at once.
66+
67+
## FAQ
68+
69+
### How to estimate throughput RU/s required?
5870

5971
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.
6072

@@ -71,7 +83,13 @@ Use the formula to calculate required RU/s.
7183

7284
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.
7385

74-
## What is the cost impact of autoscale?
86+
### I enabled autoscale how can I migrate to scaling manually?
87+
88+
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.
89+
90+
Once the change is completed, the new billing rates are based on manual scale.
91+
92+
### What is the cost impact of autoscale?
7593

7694
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/).
7795

0 commit comments

Comments
 (0)