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

Setup storage paths for reading tiled image files to be served by IIP Server #826

Closed
Tracked by #815
slint opened this issue Apr 10, 2024 · 1 comment
Closed
Tracked by #815
Assignees

Comments

@slint
Copy link
Member

slint commented Apr 10, 2024

Since IIP Server requires having direct access to the filesystem, our options are either:

  • Separate EOSMEDIA folder with OpenShift mount (docs)
  • OpenShift CephFS mount (probably cephfs-ssd-no-backup) (docs)
  • External CephFS mount in OpenShift (docs)

Hybrid/on-demand approach

There's also a possibility for a hybrid/on-demand solution (see relevant comment) where there's a small application layer in front of the IIP Server that checks if the tiled image file exists in the locally mounted volume, and if not, fetches it from the primary storage location. This should also take measures against any dogpile effect, since when e.g. loading an IIIF previewer we immediately would get multiple requests for all tiles of an image.

@slint slint mentioned this issue Apr 10, 2024
@slint slint self-assigned this Apr 10, 2024
@slint
Copy link
Member Author

slint commented Apr 15, 2024

Some preliminary tests by testing a resize to 250px for all images through an IIP Server running on OpenShift to compare SSD vs non-SSD storage, show a difference of 4-10x performance depending on the workflow/image:

$ tail normal-results.txt ssd-results.txt
==> normal-results.txt <==
Total time: 201.84 seconds
Average time: .2020 seconds

==> ssd-results.txt <==
Total time: 49.08 seconds
Average time: .0491 seconds

In any case, we'll need a more representative set of benchmarks, like e.g. the methodology described at the "IV. Experiment #2 – Image Delivery" section of https://journal.code4lib.org/articles/15217 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants