Daniel-KM / Omeka-S-module-IiifServer

IIIF Server is a module for Omeka S that adds the IIIF specifications to serve any images and medias.
Other
17 stars 11 forks source link

Time-out on manifest v3 #41

Closed coret closed 8 months ago

coret commented 1 year ago

When I load a manifest with 449 images via https://www.goudatijdmachine.nl/data/iiif/2/46491/manifest, this version 2 loads in about 3 seconds. But, when I load version 3 of the same manifest via https://www.goudatijdmachine.nl/data/iiif/3/46491/manifest I get an error:

Maximum execution time of 30 seconds exceeded

For your information:

Falteri commented 1 year ago

I found very similar problems that make quite impossible to use the IIIF Server for large images. Please see here for details: https://forum.omeka.org/t/accessing-big-images-through-iiif-manifests-is-extremely-slow/17175/5. Like in my case, if I take a look at the network console in the browser, i found same problems accessing and redirecting to/from default.jpg

immagine

coret commented 1 year ago

Hi @Falteri , Thanks for your feedback. But here the issue is not with images, but with the manifest. I see a huge drop in performance when using IIIF version 3 (in stead of version 2) when I request a manifest. This issue is about generation of meta-data, not the images.

Falteri commented 1 year ago

I see, but I'd like to be sure is not the way the manifest relates to the images. Are you sure the drop in performance is about getting the manifest rather than calling the images? If not, forget about my idea.

Daniel-KM commented 1 year ago

Iiif manifest can now be cached via module DerivativeMedia, but performance issue should be fixed in the module.

Daniel-KM commented 9 months ago

The cache was integrated inside module IIIFServer directly, so don't need DerivativeMedia anymore. Some work will be done soon to create iiif manifest directly as ArrayObject to speed performance.

Daniel-KM commented 8 months ago

The version 3.6.19 have big speed improvements. The integrated cache is now only needed for big items (more than 100-500 medias) or big audience. You should update the other modules too (Common, Image Server, Iiif Search and Extract Ocr) if you use them.