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

Volvox CRAM being slow on our AWS website for confusing reasons #4555

Closed
cmdcolin opened this issue Sep 10, 2024 · 4 comments
Closed

Volvox CRAM being slow on our AWS website for confusing reasons #4555

cmdcolin opened this issue Sep 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cmdcolin
Copy link
Collaborator

i am seeing in firefox that on current main there are hundreds of requests for the same cram file range being made, and this also slows it down significantly.

current main

visiting https://jbrowse.org/code/jb2/main/?config=test_data%2Fvolvox%2Fconfig.json&session=share-hgUR6_HHBR&password=69zNb

273 requests made, many repeated for .cram file and .2bit file. ~41 seconds to load the track, firefox 130

image

v2.15.0

visiting https://jbrowse.org/code/jb2/v2.15.0/?config=test_data%2Fvolvox%2Fconfig.json&session=share-hgUR6_HHBR&password=69zNb

5 seconds to load, just one request for cram file and 2bit file

image

the MYSTERY: manually building v2.15.0, aws sync'ing it to a new folder, and building is slow again??

I checked out v2.15.0, uploaded to aws s3 bucket, and visited here

https://jbrowse.org/demos/slowcramrepro/v2.15.0/?config=test_data%2Fvolvox%2Fconfig.json&session=share-hgUR6_HHBR&password=69zNb

and it is mysteriously slow. i don't get necessarily know what is going on and so i'm not sure if there is some factor of the issue being

a) the mystery build i made is wrong, and it is a bug between v2.15.0 and main
b) my browser on my computer is confused, and acting weird, and it's not related to any change in jbrowse
c) aws created a change, where new files uploaded are now treated differently and not cached the same after some recent date or something else like this
d) something totally different(???)

if anyone else can confirm the above observations let me know

@cmdcolin cmdcolin added the bug Something isn't working label Sep 10, 2024
@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Sep 10, 2024

also note: i am not sure if i can reproduce this observation in chrome, might be firefox only

@cmdcolin
Copy link
Collaborator Author

note also: this effect seems a bit AWS specific, can't really reproduce locally AFAIK

@cmdcolin
Copy link
Collaborator Author

@garrettjstevens reported not seeing this in either chrome or firefox on latest main

@cmdcolin
Copy link
Collaborator Author

i'll just close this for now. unless i can get confirmation it's not just me and firefox being weird, seems unneeded to track it here.

i made a x-ref issue at GMOD/cram-js#140 to track the larger issue of aggregating requests in cram-js in a built-in way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant