Skip to content

Add Docker image savings analysis to deduplication doc - #54662

Merged
baronfel merged 1 commit into
mainfrom
michaelsimons/deduplication-doc-appendix
Jun 9, 2026
Merged

baronfel merged 1 commit into
mainfrom
michaelsimons/deduplication-doc-appendix

Conversation

@MichaelSimons

@MichaelSimons MichaelSimons commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a Docker image savings analysis to the eliminate-duplicate-files design document, quantifying the real-world downstream impact of SDK deduplication on .NET container images.

Changes

  • Appendix: Docker Image Savings Analysis — Added at the end of the document with bandwidth and storage savings data for Linux SDK images (pull bandwidth, image storage, cost projections)
  • Windows Containers subsection under "Other Concerns" — Documents that Windows containers do not support hard links, limiting adoption for Windows images

Related #52182

- Add 'Appendix: Docker Image Savings Analysis' at the end of the
  document with bandwidth/storage impact data for Linux SDK images
- Add 'Windows Containers' subsection under 'Other Concerns' noting
  hard link limitation for Windows container images
- Content edited to remove redundancy with the main document

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings June 9, 2026 21:17
@MichaelSimons
MichaelSimons requested a review from baronfel June 9, 2026 21:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the eliminate-duplicate-files design document to quantify downstream impact of SDK deduplication on .NET Docker images, and to document limitations for Windows container scenarios.

Changes:

  • Adds an “Appendix: Docker Image Savings Analysis” with estimated bandwidth/storage/cost savings for Linux SDK images.
  • Adds a “Windows Containers” subsection under “Other Concerns” describing constraints that limit adopting hard-link deduplication in Windows container images.
  • Minor formatting tweaks (blank lines) to improve markdown readability.

Comment on lines +492 to +495
This section quantifies the downstream impact of deduplication on .NET Docker images.
The estimates use .NET 10 as a representative single release to project per-release savings.
The "In-Support" columns show the projected combined impact once three in-support versions all include this feature.
The "All" columns show cumulative totals across all SDK images and pulls (in-support and EOL), illustrating savings that accrue over time.

- Over the .NET 10 LTS three-year support period, this saves approximately **1,224.6 TB** in bandwidth (408.2 TB/yr x 3) and **82.8 GB** in storage (27.6 GB/yr x 3).
Those savings don't count previews, usage increase when the previous LTS (8.0) reaches end-of-life or pulls after EOL.
- **Bandwidth savings are significant in absolute terms**, over 1,350 TB/year for in-support versions at 630,000 pulls per week.

### Linux SDK Image Pull Bandwidth Savings

| .NET 10 Pulls/Wk | In-Support Pulls/Wk | All Pulls/Wk | .NET 10 Saved (TB wk / yr) | In-Support Saved (TB wk / yr) | All Saved (TB wk / yr) |

### Linux SDK Image Storage Savings

| New .NET 10 Images/Mo | New In-Support Images/Mo | All Images | .NET 10 Saved (GB mo / yr) | In-Support Saved (GB mo / yr) | All Saved (GB) |
### Key Takeaways

- Over the .NET 10 LTS three-year support period, this saves approximately **1,224.6 TB** in bandwidth (408.2 TB/yr x 3) and **82.8 GB** in storage (27.6 GB/yr x 3).
Those savings don't count previews, usage increase when the previous LTS (8.0) reaches end-of-life or pulls after EOL.

### Windows Containers

Windows containers do not support hard links, which blocks adoption of this feature for Windows container images.
@baronfel
baronfel merged commit 7daed2b into main Jun 9, 2026
13 checks passed
@baronfel
baronfel deleted the michaelsimons/deduplication-doc-appendix branch June 9, 2026 21:25
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 10, 2026
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.

3 participants