cram-js icon indicating copy to clipboard operation
cram-js copied to clipboard

Combine multiple small fetches

Open cmdcolin opened this issue 1 year ago • 1 comments

Currently, jbrowse uses http-range-fetcher to 'aggregate all the fetches that have occurred in the last 100ms'

this can be potentially** problematic though

a) it requires any use of cram-js to use http-range-fetcher or similar workaround to get reasonable performance b) if you get into a weird scenario where you aren't caching requests right, it can get into a very slow mode (xref https://github.com/GMOD/jbrowse-components/issues/4555)

it might be good to bundle multiple requests together automatically if possible

cmdcolin avatar Sep 10 '24 14:09 cmdcolin

similar issue in bbi-js https://github.com/GMOD/bbi-js/issues/55

cmdcolin avatar Sep 10 '24 14:09 cmdcolin