decentraland / decentraland/catalyst

Organic deployment timeouts on Foundation Catalysts

Open
#1,481 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
52
Forks
56
Avg merge
5m
Merged PRs (30d)
1

Description

Some scene deployments can take a long time, well over 2 minutes. When this happens, Cloudflare times out after 2 mins of inactivity. These scenes probably span too many lands and ownership checking takes a lot of time.
Using subgraphs, for a scene of `n` parcels, it could make `3 * n` queries for checking for land ownership, operator permissions and estate. These could probably be either batched or run in parallel.
For the new on-chain validations, batching is already happening, but this still takes more than 2 mins.
We should see how we can do to speed up those queries.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the scene deployment path and tracing ownership, operator-permission, estate, and on-chain validation queries for multi-land scenes. Measure query counts and latency, then verify that slow deployments no longer hit Cloudflare's two-minute inactivity timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, blockchain, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.