You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/healthcare-apis/fhir/fhir-best-practices.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,16 +35,16 @@ To achieve optimal performance with the import operation, consider the following
35
35
36
36
In Azure FHIR service, bundles act as containers for multiple resources. Batch and transaction bundles enable users to submit sets of actions in a single HTTP request or response. Consider the following to achieve higher throughput with bundle ingestion.
37
37
38
-
***Do** tune the number of concurrent bundle requests to the FHIR server. A high number (>100) may lead to negative scaling and reduced processing throughput. The optimal concurrency is dependent on the complexity of the bundles and resources.
39
38
***Do** generate load on Azure FHIR service in a linear manner and avoid burst operations to prevent performance degradation.
39
+
***Do** tune the number of concurrent bundle requests to the FHIR server. A high number (>100) may lead to negative scaling and reduced processing throughput.
40
+
***DO** use separate transaction bundles for FHIR resources that don't depend on each other, and can be updated separately.
41
+
***Consider** using smaller bundle sizes for complex operations such as conditional creates or updates.
40
42
***Consider** enabling parallel processing for batch and transaction bundles. By default, resources in bundles are processed sequentially. To enhance throughput, you can enable parallel resource processing by adding the HTTP header flag `x-bundle-processing-logic` and setting it to `parallel`. For more information, see the [batch bundle parallel processing documentation](rest-api-capabilities.md#bundle-parallel-processing).
43
+
***Avoid** submitting parallel bundle requests that attempt to update the same resources concurrently, which can cause delays in processing.
44
+
***Avoid** submitting a large number of bundles with a single PUT or POST request can lead to transaction bottlenecks.
41
45
42
46
> [!NOTE]
43
-
> Parallel bundle processing can enhance throughput when there isn't an implicit dependency on the order of resources within an HTTP operation.
44
-
45
-
***Consider** splitting resource entries across multiple bundles to increase parallelism, which can enhance throughput. Optimizing the number of resource entries in a bundle can reduce network time.
46
-
***Consider** using smaller bundle sizes for complex operations. Smaller transaction bundles can reduce errors and support data consistency. Use separate transaction bundles for FHIR resources that don't depend on each other, and can be updated separately.
47
-
***Avoid** submitting parallel bundle requests that attempt to update the same resources concurrently, which can cause delays in processing.
47
+
> Parallel bundle processing using the `x-bundle-processing-logic` flags can enhance throughput when there isn't an implicit dependency on the order of resources within an HTTP operation.
0 commit comments