qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Moving release tarballs to a CDN
@ 2017-11-08 15:33 Stefan Hajnoczi
  2017-11-08 16:19 ` Stefan Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2017-11-08 15:33 UTC (permalink / raw)
  To: Michael Roth, Jeff Cody; +Cc: qemu-devel, Paolo Bonzini, Daniel P. Berrange

Hi Mike and Jeff,
qemu.org's bandwidth usage is dominated by release tarball downloads.
This puts qemu.org bandwidth usage in the 2+ TB/month range.

Many hosting providers do not offer this much bandwidth as part of a
basic package that would otherwise fit qemu.org's requirements.

Several people have suggested putting release tarballs on a mirror or
CDN to offload the bandwidth usage.  Jeff Cody and I looked at using
GitHub's "releases" feature to host release tarballs.

The following changes would be necessary:

1. Add qemu.org URL redirection to GitHub:
https://download.qemu.org/qemu-(\d+.\d+.\d+).tar.xz ->
https://github.com/qemu/qemu/releases/download/v\1/qemu-\1.tar.xz

2. Modify release script to immediately push to GitHub and then upload
tar.xz via API:
https://developer.github.com/v3/repos/releases/#upload-a-release-asset

3. Continue using https://download.qemu.org/qemu-\d+.\d+.\d+.tar.xz
URL for download links.

This way future QEMU releases would be hosted on GitHub with nice
qemu.org download links.  The signature file stays hosted on qemu.org
so it's possible to validate that the tarball has not been tampered
with.

How does this sound?

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-08 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08 15:33 [Qemu-devel] Moving release tarballs to a CDN Stefan Hajnoczi
2017-11-08 16:19 ` Stefan Weil
2017-11-08 17:11   ` Stefan Hajnoczi
2017-11-08 22:08     ` Jeff Cody

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).