-
Notifications
You must be signed in to change notification settings - Fork 0
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
Optimize Processor Strategy, Caching, and Tuning #2
Comments
To answer the questions asked.
The documentation shows that there are several compile time or system design time setups that are necessary to actually use things like JPEG2000. The OpenJPEG is considered a better alternative. I am seeing the following in the logs:
|
Performance in Cantaloupe is influenced by many factors including the processor strategy and caching setup. In Cantaloupe, processors read images from sources, decode them, transform them according to request arguments, and encode and write derivative images back to the client. Processors can be selected in different ways including on a request by request basis. Processors rely on different underlying processing engines which may have a direct effect on quality and performance.
While we're looking at performance, I think it might be a good time to review processor strategy and caching setup. I don't think it's worth time comparing processors and formats, but it would be good to know if our setup could be causing issues.
Because we have a tendency to use JPGs in more recent collections:
We also serve TIFs, JPEG2000s, and PDFs for some collections. Looking at similar settings for these is also probably a good idea. Specifically, are we using
LZW
on TIFFs or no compression at all?Looking at stream and retrieval strategy is worth it. Optimal setup here is really dependent on what we're doing, but
DownloadStrategy
for either option would be unideal. At my previous institution, we primarily relied on theCacheStrategy
andFilesystemCache
but I think more modern strategies areStreamStrategy
withCacheStrategy
as a fallback. More info is here.Beyond processor strategy, we should look at deployment & tuning and caching.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: