How to increase the speed of downloading archives from Orthanc

Hi everyone,

I am new to Orthanc. So, this may be a silly questions to others. Sorry for this.

It seems it takes long to download the archive, around 3MB/s. And I install Orthanc sever locall. So, i am wondering if there is any configurations can help on this? Or any other way to speed up the arhive download? Many thanks.

API I used: http://localhost:8042/series//archive

Best regards,
William

I met the same problem. The orthanc server runs on the local computer. I only configured it to use PostgreSQL rather than Sqlite. I think the downloading speed should not be such slow. Anyone who knows the reason?

Hi guys,

So, I have just conducted a test with a 250 MB study I have on a folder:

  1. compress the file with the zip command line in bash:
time zip -r cartdio.zip CARDIO/
real    0m12.254s
  1. upload the file to Orthanc and download it as a zip:
time curl http://192.168.0.10:8042/studies/595df1a1-74fe920a-4b9e3509-826f17a3-762a2dc3/archive --output cardio-web.zip
real    0m12.334s

So, it seems it’s hard to improve anything on Orthanc side.

Cheers,

Alain

Does it mean, on your side, downloading data locally from Orthanc only takes around 0.1s, while most of the time is actually spent on zip? So your download speed is over 250MB/s.

No, downloading starts as soon as the first DICOM files has been compressed. In this case, there are 20 files so download will start after 0.5 - 1s.

OK got it. The phenomenon I saw on my browser is actually due to the very low zip time. Orthanc will zip and return data simultaneously, am I correct?