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

[USE CASE] Display large tiled images #2185

Open
antbrown opened this issue Oct 18, 2022 · 1 comment
Open

[USE CASE] Display large tiled images #2185

antbrown opened this issue Oct 18, 2022 · 1 comment
Assignees
Labels
Type: use case proposes a new feature or function for the software using user-first language.

Comments

@antbrown
Copy link

Overview of Use Case
Currently when visitors try to view medium/large tiled images we get timeouts from Cantaloupe generating the tiles. The same happens on https://sandbox.islandora.ca/ after uploading a sample image.

Title (Goal): Provide instructions to encode TIFFs, configure Cantaloupe, setup caching and warm the cache so that tiled images can be served efficiently.

Primary Actors:

  • User: wants to view and zoom into tiled images without getting timeouts
  • System Administrator: wants to know how to configure and provision the system so that tiles can be generated and cached efficiently

Scope

Architecture

Story:

As a User I want to view a large tiled image and zoom into all the little details without having to wait a long time for each tile to load

Examples:

What we have done so far:

  • We have a script that tries to generate urls for each tile at each zoom level for a TIFF, it then loops through the urls and requests them from Cantaloupe to try and warm the cache (effectively simulating a user panning/zooming around the image)
  • Cantaloupe is configured to cache source files and tiles
  • Cantaloupe is running on a dedicated server with 4x CPU, 16GB RAM
  • We have tried encoding a set of TIFFs from striped to pyramidal using, for example: vips im_vips2tiff CCL-Star-1981-5018-007-015N-02.tif vips_image.tif:lzw,tile:512x512,pyramid

Questions:

  • Is it possible to put a frontend cache, eg: varnish, in front of Cantaloupe?
  • Does anyone know of example Islandora instances which are serving large numbers of tiled images?
  • Have you encountered this issue before? Please +1 or add your voice so we can get an idea of how many people are looking for a solution
@antbrown antbrown added the Type: use case proposes a new feature or function for the software using user-first language. label Oct 18, 2022
@DonRichards DonRichards self-assigned this Oct 19, 2022
@DonRichards
Copy link
Member

@antbrown The URLs are part of Cantloupe's API. https://cantaloupe-project.github.io/manual/4.1/endpoints.html

But Cantaloupe has "Source Cache" It should "pre-processed source images onto the filesystem" according to the docs. - https://cantaloupe-project.github.io/manual/4.1/caching.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: use case proposes a new feature or function for the software using user-first language.
Projects
None yet
Development

No branches or pull requests

2 participants