Abort Zarr tiles that leave the view once zarrita releases the shared-request abort fix
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend, performance
Direzione di ricerca
Start in packages/deck.gl-zarr where ZarrLayer lives, and read it beside COGLayer/MultiCOGLayer in packages/deck.gl-cog, which already override _abortUnwantedLoads() to return true. Then bump the zarrita range from ^0.7.5 in packages/deck.gl-zarr and the aef-mosaic, nldas-icechunk, zarr-globe, dynamical-zarr-ecmwf and experimental/onnx-embeddings example manifests once a release containing manzt/zarrita.js#477 is out. Done means a fast pan in dynamical-zarr-ecmwf shows no blank selected tiles and no unhandled AbortErrors; the maxRequests/debounceTime defaults are a judgment call gated on #855.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[!NOTE]
This issue was written by Claude (Claude Code), not by @kylebarron.
manzt/zarrita.js#477 (merged 2026-11-19) fixes manzt/zarrita.js#465: aborting one zarr.get() no longer fails other reads that share its request. That covers reads in the same shard, which share one shard-index fetch, and reads that withRangeCoalescing merges into one fetch. A shared fetch is now cancelled only once every read waiting on it has aborted.
The fix isn't released yet. The latest zarrita is 0.7.6 (2026-11-15). This issue tracks picking it up once a release that has it is out.
Why it matters here
ZarrLayer makes one zarr.get() per tile and passes that tile's signal. With a sharded array, many tiles wait on one index fetch, so a tile that left the view could fail its neighbours with AbortErrors. Because of that, ZarrLayer keeps RasterTileLayer's defaults: _abortUnwantedLoads() returns false, and it uses deck.gl's limit of 6 requests at a time. The COG layers turn aborting on and use maxRequests: 256 and debounceTime: 50.
To do once the release is out
- Raise the
zarritarange from^0.7.5to the fixed version inpackages/deck.gl-zarrand the examples (aef-mosaic,nldas-icechunk,zarr-globe,dynamical-zarr-ecmwf,experimental/onnx-embeddings). - Have
ZarrLayeroverride_abortUnwantedLoads()to returntrue, asCOGLayerandMultiCOGLayerdo. - Consider
maxRequests: 256anddebounceTime: 50asZarrLayerdefaults, as inCOGLayer. This makes sense only if the request limit can be left to the store. Without the range reader (#855) a plainFetchStorehas no per-origin limit. - Check
dynamical-zarr-ecmwfwith a fast pan: no blank selected tiles and no unhandledAbortErrors in the console.
Effect on #855
#855 plans for a source opened from an app-built store to keep today's behaviour, and only a source opened from a URL to abort tiles. The reason given is the cancellation bug. Once this lands, that split isn't needed for cancellation. The range reader is still worth adding for merged requests, a shared cache and a per-origin request limit.
🤖 Written by Claude Code
- Lingua principale
- TypeScript
- Stelle
- 240
- Fork
- 34
- Merge medio
- 17h 24m
- PR unite (30g)
- 62
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di developmentseed/deck.gl-raster
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
developmentseed/deck.gl-raster#589 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
developmentseed/deck.gl-raster#879 ·
I maintainer di solito rispondono entro 1 giorno
-
Zooming in shows a checkerboard of placeholder tiles when overview tiles are smaller than full-resolution tilesForse già presa @kylebarron l’ha presa 16 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
developmentseed/deck.gl-raster#873 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
developmentseed/deck.gl-raster#866 ·
I maintainer di solito rispondono entro 1 giorno
-
bug cog
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
developmentseed/deck.gl-raster#857 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di developmentseed/deck.gl-raster
Issue simili
-
Add Alice&BotAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
bot:ai-assisted component:faucet github_actions security status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
midnightntwrk/midnight-faucet-api#215 ·
I maintainer di solito rispondono entro 1 giorno
-
[功能] 手机端命令执行显示 AI 动作描述Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NanmiCoder/cc-haha#2034 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
MoonshotAI/kimi-code#5539 ·
I maintainer di solito rispondono entro 1 giorno
-
mobile prio:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
digitalfabrik/entitlementcard#3324 ·
I maintainer di solito rispondono entro 2 giorni