Simultaneously Study upload

Hello,

I would like to understand how Orthanc handles multiple studies being sent to the same server. For example, if two different devices send two different studies at the same time to the same PACS server, how is this handled internally?

Does Orthanc process these requests in parallel or sequentially?

I couldn’t find this information in the documentation. If this behavior is described somewhere, could you please point me to the relevant section?

Thank you in advance for your help!

Hi,

Orthanc processes the incoming images in parallel. This is configured through this option:

  // Number of threads that are used by the embedded DICOM server.
  // This defines the number of concurrent DICOM operations that can
  // be run when Orthanc is acting as SCP. 
  // Note: This is not limiting the number of concurrent connections
  // but the number of concurrent DICOM operations.
  // E.g, with a single thread, if a C-Find is received during
  // e.g the transcoding of an incoming C-Store, the C-Find will 
  // be processed only at the end of the C-Store operation but both
  // DICOM assocations will remain active. 
  // (new in Orthanc 1.10.0, before this version, the value was 
  // fixed to 4)
  "DicomThreadsCount" : 4,

Hope this helps,

Alain

Thank you @alainmazy