Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Transform (resize) images OnDemand #51

@ceefour

Description

@ceefour

There should be 3 modes :

  1. PREPROCESS. This is what we're doing right now.
  2. BACKGROUND. After an add, image transformation jobs are run in the background. Also during image repository initialization, untransformed images are transformed in background.
  3. ON_DEMAND. After an add, no image transformation is run. During fetch, if no transformed image is found, a transformation job is run. If the transformation takes less than threshold (say 500 ms), then the image is returned. If the transformation takes more than threshold, then a null or not found image is returned. However when the transformation eventually completes, it should be good for next request. Threshold is not accumulated, i.e. it is per method call or image, not per "web request".

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions