You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish delivery cost per GB for each registry #233
Publish what delivery (egress) costs per GB on each registry's plan, next to its speed.
The code is ready for it. RegistryFacts.deliveryPerGb in apps/www/src/lib/registries.ts adds a "Delivery per GB" column to the "Registries under test" table as soon as any registry has a value.
🎯 Problem Statement
Speed alone flatters registries that are expensive to pull from, and every vendor prices delivery differently: included transfer, overage per GB, per-request fees. We already pick the cheapest plan that can host the benchmark (free where there's a free tier), so cost per GB is the natural companion figure.
💡 Proposed Solution
First, list prices. Record each vendor's published delivery price per GB on our plan, with a link to the source, and render it. This is a hand-maintained value with an "as of" date.
Then, what we're billed. Pull our actual monthly usage and billing per registry (Cloudsmith, JFrog, AWS Cost Explorer for CodeArtifact, GitHub, vlt's own metering), and publish the effective $/GB for the bytes the benchmark moved. This needs billing API access or exports on a schedule, so it probably wants its own small pipeline, and possibly its own file in the published tree (e.g. /costs/{month}.json), not a constant in code.
🔄 Alternatives Considered
Publishing only list prices. That's simpler, but it misses included-transfer allowances and per-request fees, which dominate at the benchmark's volume.
Activity