Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRIIIF should avoid unnecessary loading and processing. #147

Open
kaladay opened this issue Sep 23, 2024 · 0 comments
Open

IRIIIF should avoid unnecessary loading and processing. #147

kaladay opened this issue Sep 23, 2024 · 0 comments
Labels
story A user story or similar.

Comments

@kaladay
Copy link
Contributor

kaladay commented Sep 23, 2024

The AbstractManifestController.java shows a request, a manigest load, and then an I/O copy of the data.

The Dspace Manifest collect performs this specific task.

The Fedora Manifest collect performs this specific task.

This is extra unnecessary overhead that can become notable for larger manifests.

Doing this would likely improve performance and may help resolve converns from the Cantaloupe Response Time Issue. This obviously will not fix performance problems directly in Cantaloupe but should reduce the additional overhead of copying and then transfering.

This also relates to and is likely affected by the #146 story. (Such as using Ingress or using a long-term-cache.)

Possible implementations might include using HTTP HEAD request to determine existence and then performing a fetch to the appropriate server.
If this can be done automatically via an Ingress, then that would be even better.
Example here:

The following Ingress tells the backing load balancer to route requests based on the Host header. ...

@kaladay kaladay added the story A user story or similar. label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story A user story or similar.
Projects
None yet
Development

No branches or pull requests

1 participant