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

Performance Test IIIF Server Options re: Pyramidal TIFF #13

Closed
mark-dce opened this issue Mar 3, 2020 · 3 comments
Closed

Performance Test IIIF Server Options re: Pyramidal TIFF #13

mark-dce opened this issue Mar 3, 2020 · 3 comments

Comments

@mark-dce
Copy link
Contributor

mark-dce commented Mar 3, 2020

No description provided.

@edejesusyale
Copy link
Collaborator

edejesusyale commented Mar 4, 2020

100 trials of requesting random widths and heights of a single image from L(oris) and C(antaloupe)

After investigation, there are currently only two image processors for Cantaloupe that will switch between the layers of a PTIFF: Java2DProcessor and JaiProcessor.

Java2DProcessor: There is an issue open on Cantaloupe about Java2DProcessor's optimization for requests of large ptiffs/tiled tiffs: cantaloupe-project/cantaloupe#311. It is similar to the testing that I've done, with processing happening on the scale of seconds instead of milliseconds. This issue has been open since July and I don't believe work is being done currently to optimize that.

JaiProcessor: From what I have read, JaiProcessor is the most optimized processor. However, it is not currently being developed anymore and is starting to become deprecated.

@edejesusyale
Copy link
Collaborator

50 trials with different sizes

Frederick helped me sort through the other results and realized that the most time consuming requests from Cantaloupe was when the largest layer was used to process the request. The above has the results of making requests between the largest and 2nd largest layers. The ptiff has different colors for each layer for testing purposes. The largest layer is red and the second largest layer is green. As is seen in the excel, when requests are large enough to use the red layer, the time for cantaloupe to respond jumps by 30-70x.

@mark-dce mark-dce mentioned this issue Mar 10, 2020
6 tasks
@mark-dce mark-dce modified the milestone: 2020-11 Mar 10, 2020
@mark-dce mark-dce closed this as completed Sep 1, 2020
@mark-dce
Copy link
Contributor Author

mark-dce commented Sep 1, 2020

We've settled on Cantaloupe for the development portion of Phase 1 and will revisit this issue if Cantaloupe does not perform as required during Phase 1 performance testing.

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