Closed thewtex closed 1 year ago
In the rpcQueue concurrency:
https://github.com/Kitware/itk-vtk-viewer/blob/a4cdbff73eb7a0cff73f391ad6ec628ad7cbe078/src/IO/ZarrMultiscaleSpatialImage.js#L232
default to the number of logical processors on the client:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency
But also add a setRpcMaxConcurrency ImJoy API on the viewer. In itkwidgets, set this to limit the number of logical processors (times two?) on the server.
setRpcMaxConcurrency
Closed via #638 #640
In the rpcQueue concurrency:
https://github.com/Kitware/itk-vtk-viewer/blob/a4cdbff73eb7a0cff73f391ad6ec628ad7cbe078/src/IO/ZarrMultiscaleSpatialImage.js#L232
default to the number of logical processors on the client:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency
But also add a
setRpcMaxConcurrency
ImJoy API on the viewer. In itkwidgets, set this to limit the number of logical processors (times two?) on the server.