now icon indicating copy to clipboard operation
now copied to clipboard

feat: reduce file size for gif results

Open florian-hoenicke opened this issue 2 years ago • 2 comments

When showing gif results in the playground, we display 9 to 60 results. Each gif has a size of ~1MB. This means we would have to download up to 9MB per requst. If you think about larger gifs or videos, this would become really bad.

Possible Solution:

  • [ ] for indexing requests, the pre-processing saves a low-resolution gif in our bucket called s3://jina-now/preprocessing/<flow_id>/...
  • [ ] make sure bucket folder with <flow_id> is getting deleted once the flow is terminated
  • [ ] use low res images in the playground to show results

Critics

  • overengineering because the latency of the live system is not affected

florian-hoenicke avatar Aug 16 '22 17:08 florian-hoenicke

Are we allowed to create low-resolution copies of the data..?

joschkabraun avatar Aug 18 '22 11:08 joschkabraun

yes this should not be an issue @joschkabraun

fogx avatar Sep 01 '22 14:09 fogx