-
Notifications
You must be signed in to change notification settings - Fork 0
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
Review number of fractal-server
API calls
#9
Comments
TO DO: let's rechunk the original testing zarr, so that it has a lot of small chunks. |
Ref #10 |
I've added the cache-manager package to cache the result of current user calls. We are using just it's core (in-memory implementation). The tests using the rechunked zarr with a lot of chunks showed a visible improvements. It also appears that Node 20 is always faster than Node 16. Node 20 (vizarr loading 818 requests):
Node 16 (vizarr loading 818 requests):
Cache expiration time can be configured using the environment variable |
Great! Could you also specify what do these times refer to? Is it something like loading the first vizarr view? |
I tested this myself as well, as part of #15, and I confirm it works as expected.
|
If while browsing a zarr multiscale we need to open N chunk files, how many calls are made to the current-user endpoint?
We should make sure that this remains under control.
The text was updated successfully, but these errors were encountered: