Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

executors: Investigate cost reduction of registry mirror on Cloud #42472

@eseliger

Description

@eseliger

Currently, every cloud instance has a docker registry mirror instance running at all times. Most of the time, these are not used and also they aren’t HA. If we could combine them for multiple MIs, the cost, operational burden, and additional cost for HA could be lowered. (Tracked as https://github.com/sourcegraph/sourcegraph/issues/42523)
This will save us a lot of money, and also operational burden. One mirror instance today costs us around $78 to run, and they are very underutilized, as load is spikey so we need ~big machines, but usually only a few minutes during the day.
Combining them will hopefully increase the utilization per machine, and also increase the cache hit rate. We can also add a docker service account to that machine to increase pull limits.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions