Tile generating takes too long #555
Unanswered
vietnguyengit
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Zarr is not a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I tried to use XarrayReader to visualise SST Zarr in out S3, works great on Notebook and can also be visualised with Leaflet.
Except it's quite slow. It takes more than a minute to generate a tile, so I can't take advantage of having the tiles generated with Lambda with an
API Gateway
endpoint asAPI Gateway
restricts to 30 seconds timeout although Lambda itself has 15min timeout limit.(The results above come from stacks deployed on EC2, Sydney region)
Below is the API controller (not much different from the example except I added
idx
to handle time index selection, the Zarr store has over 11k indexes.I also tried to cache the Zarr store, it does look faster but it might only be helpful on either local or EC2 environments, but not Lambda.
Here's how the dataset looks like:
big one:
sliced one:
Can you please advise what should we be looking at, either the Rio-tiler configs or the Zarr store chunking, or something else?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions