-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Hi, it seems that for listing all repositories the whole r2 bucket is scanned:
https://github.com/cloudflare/serverless-registry/blob/main/src/registry/r2.ts#L163
This doesn't scale well and in our case (5 repositories with +-100 tags each), the listing already takes +-10 seconds. Looking into the code and r2 api, i can't actually think of some optimization how to simply do that with current approach. Maybe creating extra placeholder objcts in r2 like: repositories/repo1
repositories/repo2
will help scanning just this repositories/*
prefix.
Metadata
Metadata
Assignees
Labels
No labels