Serving ranges of big files takes long time

Description

If you serve a 10kb range of a 100mb pdf (via FileNodeServlet) the Servlet need 600ms on my Macbook with SSD.

I think the reason is org.mycore.common.content.util.MCRServletContentHelper#copyRange, which uses the IOUtils.copyLarge method. I looked at the source and the skip method actually reads instead of skip:

Environment

None

Assignee

Sebastian Hofmann

Reporter

Sebastian Hofmann

Labels

None

URL

None

External issue ID

None

Fix versions

Priority

Medium
Configure