Listing tags for a container registry image is taking ~10 seconds
It should be quick to list tags for a container image.
The video below shows the wait time to show 15 tags. If I show tags for image which has less tags, the wait time seems to be proportionately less.
Screen_Recording_2020-02-20_at_10.46.29_PM
Looking into Kibana, it seems all the time is spent inside Rails (not latency):
[side question: Do we not have observability into the container registry ?]
Performance bar shows 14 queries finishing in about 18ms. Reading Projects::Registry::TagsController#index
, we seem to already have limits for 15 tags maximum. Is there something we can optimize here ?