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

[Media Viewer] Performance on clicks is slow #1356

Open
mahalakshme opened this issue Oct 15, 2024 · 0 comments
Open

[Media Viewer] Performance on clicks is slow #1356

mahalakshme opened this issue Oct 15, 2024 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Oct 15, 2024

https://avni.freshdesk.com/a/tickets/4775

Issue:

On clicking MediaViewer and on clicking a image - take around 1 min to load.
Some users feel this used to take only around 5 seconds before

AC:

The below actions(basically any action in Media Viewer) should not take more than 5 secs to load

  • On click of 'Media Viewer' box in home page
  • On click of an image in Media Viewer
  • On selection of any filters and on clicking 'Apply filter' on Media Viewer
  • Validate the above performance improvement using gatling

Technical suggestions:

Image

  • Clicking on an image/media we need not again call /et/media/search? since we would already have the pre-signed image URLs to fetch or if it has got expired can fetch the pre-signed URL for that image alone.
  • On moving across each image on the carousel additional fetching of consecutive images can be done, instead of fetching everything in one go
  • When rendering the full page, pre-signing images link for thumbnails should suffice, instead of pre-signing original image link as well
@mahalakshme mahalakshme changed the title Faster media viewer load [Media Viewer] Performance on clicks is slow Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant