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: guides/protocols/odata.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1454,3 +1454,18 @@ to customize the annotation as follows:
1454
1454
If you set `contextAbsoluteUrl` to something truthy that doesn't match `http(s)://*`, the system constructs an absolute path based on the environment of the application on a best effort basis.
1455
1455
1456
1456
We encourage you to stay with the default relative format, if possible, as it's proxy safe.
1457
+
1458
+
### Parallel Processing of Atomicity Groups in Node.js Apps
1459
+
1460
+
By default, atomicity groups in an OData `$batch` request are processed sequentially.
1461
+
In some specific scenarios, such as custom overview pages with multiple data sources, this may result in high roundtrip times.
1462
+
1463
+
Hence, for `$batch` requests that exclusively contain `GET` requests, you can enable parallel processing of atomicity groups to improve throughput.
1464
+
1465
+
<Config keyOnly>cds.odata.max_batch_parallelization = 1</Config> specifies the maximum number of atomicity groups processed concurrently.
1466
+
The default is `1`, which means sequential processing.
1467
+
1468
+
::: warning OData Specification Violation
1469
+
Parallel processing of atomicity groups is in conflict with the OData specification for `multipart/mixed`, which requires sequential processing.
1470
+
For example, the `continue-on-error` preference default can then no longer be adhered to.
0 commit comments