Skip to content

Stop retaining runtime packages to reduce storage costs#18

Merged
lizhineng merged 1 commit intomainfrom
publish-and-clean-up
Aug 25, 2025
Merged

Stop retaining runtime packages to reduce storage costs#18
lizhineng merged 1 commit intomainfrom
publish-and-clean-up

Conversation

@lizhineng
Copy link
Member

This change prevents the retention of runtime packages after releasing layers on Function Compute, which will significantly reduce our storage costs.

Cost Savings Rationale

Currently, our storage requirements for these packages are substantial:

  • Base Storage: Each release consumes ~945MB of storage (45MB/artifact * 21 regions).
  • Platform Multiplier: We maintain support for 4 PHP versions (8.1-8.4) across 2 Debian versions (11 and 12), resulting in an 8x multiplier.
  • Total Storage: This brings the total storage requirement to 7.56 GB (945MB * 8).

By no longer storing these runtime packages post-release, we can eliminate this storage cost.

@lizhineng lizhineng merged commit 541c497 into main Aug 25, 2025
2 checks passed
@lizhineng lizhineng deleted the publish-and-clean-up branch August 25, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant