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: learn-pr/wwl-data-ai/configure-azure-cosmos-db-sql-api-sdk/includes/4-implement-threading-parallelism.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ Avoid blocking asynchronous execution by improperly using `.then()` or `.catch()
261
261
262
262
The JavaScript SDK includes built-in iterators to retrieve query results efficiently without blocking other operations. Avoid eagerly collecting all query results, as it can consume a large amount of memory and block other operations.
Copy file name to clipboardExpand all lines: learn-pr/wwl-data-ai/perform-cross-document-transactional-operations-azure-cosmos-db-sql-api/includes/5-implement-optimistic-concurrency-control.md
Since read and write in this example are distinct operations, there's a latency between these operations. This latency is represented in this diagram as *n*.
19
19
20
-

20
+

21
21
22
22
This latency can be as short as milliseconds or seconds in computer code but could still be catastrophic enough to lose potential updates. Some user-facing applications, where user input causes a longer latency between a read and update operation, can cause a longer *n* value and a higher potential for lost updates. This issue can be resolved by implementing **optimistic concurrency control**.
Since read and write in this example are distinct operations, there's a latency between these operations. This latency is represented in this diagram as *n*.
84
84
85
-

85
+

86
86
87
87
This latency can be as short as milliseconds or seconds in computer code but could still be catastrophic enough to lose potential updates. Some user-facing applications, where user input causes a longer latency between a read and update operation, can cause a longer *n* value and a higher potential for lost updates. This issue can be resolved by implementing **optimistic concurrency control**.
Since read and write in this example are distinct operations, there's a latency between these operations. This latency is represented in this diagram as *n*.
158
158
159
-

159
+

160
160
161
161
This latency can be as short as milliseconds or seconds in computer code but could still be catastrophic enough to lose potential updates. Some user-facing applications, where user input causes a longer latency between a read and update operation, can cause a longer *n* value and a higher potential for lost updates. This issue can be resolved by implementing **optimistic concurrency control**.
0 commit comments