I am currently facing an issue with the following API in dcm4chee-arc:
{BaseUrl}/dcm4chee-arc/aets/DCM4CHEE/rs/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}/frames/{frames}/rendered?quality=1
Issue Description:
The API takes an excessively long time to process and return results, even when the file size is less than 2 MB. Specifically, for 270 frames, the response time is significantly high.
Observations:
- The network is stable, and other DICOM services are performing normally.
- The files are relatively small (under 2 MB), so bandwidth should not be an issue.
- The server has sufficient CPU and RAM resources, and no significant load is observed.
- Tested on different quality parameters (
quality=1
,quality=90
), but the speed remains slow. - The API eventually returns the frames, but the latency is unacceptable for real-time usage.
- It takes more than 30 seconds.
Questions:
- Is there a known performance bottleneck for this API when handling multi-frame images?
- Are there any configuration settings (such as caching, rendering optimizations, or compression) that can improve performance?
- Would using a different transfer syntax (e.g., JPEG 2000, MPEG-4) help speed up the process?
- Are there alternative APIs or workflows that can be used for faster frame rendering?
Any guidance or suggestions to improve the API response time would be greatly appreciated.
Thanks in advance!