oras repo ls takes ~30 seconds to list ~5 elements of the namespace (registry is just 140 size) #1652
borjamunozf
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @borjamunozf , are you using the ORAS CLI or the |
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
-
Hello everyone.
We have a TUI that uses internally the _oras repo ls myregistry/whatevernamespace to list artifacts under a namespace and renders the results in it. This is done before the TUI is rendered.
However, we realized that the startup is incredible slow. Debugging the application we see that the time is spent doing the request call in the Registry>Repositories
The call to the API /v2/catalog_ just gets 100 elements first of the registry, then get the next page & there is it.
Using --last seems to provide certain improvement at first call, but still annoyingly slow.
So:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions