Skip to content

Publish delivery cost per GB for each registry #233

Backlog

Description

@darcyclarke

📋 Description

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

  1. 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.
  2. 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.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions