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: docs/user-guide/performance.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,13 +175,18 @@ Coming soon.
175
175
176
176
## Parallel computing and synchronization
177
177
178
-
Zarr is designed to support parallel computing and enables concurrent reads and writes to arrays. This section covers how to optimize Zarr's concurrency settings for different parallel computing scenarios.
178
+
Zarr is designed to support parallel computing and enables concurrent reads and writes to arrays.
179
+
This section covers how to optimize Zarr's concurrency settings for different parallel computing
180
+
scenarios.
179
181
180
182
### Concurrent I/O operations
181
183
182
-
Zarr uses asynchronous I/O internally to enable concurrent reads and writes across multiple chunks. The level of concurrency is controlled by the `async.concurrency` configuration setting, which determines the maximum number of concurrent I/O operations.
184
+
Zarr uses asynchronous I/O internally to enable concurrent reads and writes across multiple chunks.
185
+
The level of concurrency is controlled by the `async.concurrency` configuration setting, which
186
+
determines the maximum number of concurrent I/O operations.
183
187
184
-
The default value is 64, which provides good performance for most workloads. You can adjust this value based on your specific needs:
188
+
The default value is 10, which is a conservative value. You may get improved performance by tuning
189
+
the concurrency limit. You can adjust this value based on your specific needs:
185
190
186
191
```python
187
192
import zarr
@@ -265,7 +270,7 @@ If an array or group is backed by a persistent store such as the a `zarr.storage
265
270
**are not** pickled. The only thing that is pickled is the necessary parameters to allow the store
266
271
to re-open any underlying files or databases upon being unpickled.
0 commit comments