now
now copied to clipboard
feat: reduce file size for gif results
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
Are we allowed to create low-resolution copies of the data..?
yes this should not be an issue @joschkabraun