{"id":998,"date":"2019-10-13T16:34:28","date_gmt":"2019-10-13T14:34:28","guid":{"rendered":"https:\/\/blogs.gentoo.org\/mgorny\/?p=998"},"modified":"2019-10-13T16:34:28","modified_gmt":"2019-10-13T14:34:28","slug":"improving-distfile-mirror-structure","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/mgorny\/2019\/10\/13\/improving-distfile-mirror-structure\/","title":{"rendered":"Improving distfile mirror structure"},"content":{"rendered":"<p>The&nbsp;Gentoo distfile mirror network is essential in&nbsp;distributing sources to&nbsp;our users.  It&nbsp;offloads upstream download locations, improves throughput and&nbsp;reliability, guarantees distfile persistency.<\/p>\n<p>The&nbsp;current structure of&nbsp;distfile mirrors dates back to&nbsp;2002.  It&nbsp;might have worked well back when we mirrored around 2500 files but&nbsp;it proved not&nbsp;to&nbsp;scale well.  Today, mirrors hold almost 70&nbsp;000 files, and&nbsp;this number has been causing problems for mirror admins.<\/p>\n<p>The&nbsp;most recent discussion on&nbsp;restructuring mirrors started in&nbsp;January&nbsp;2015.  I&nbsp;have started the&nbsp;preliminary research in&nbsp;January&nbsp;2017, and&nbsp;it resulted in&nbsp;GLEP&nbsp;75 being created in&nbsp;January&nbsp;2018.  With the&nbsp;actual implementation effort starting in&nbsp;October&nbsp;2019, I&#8217;d like to&nbsp;summarize all the&nbsp;data and&nbsp;update it with&nbsp;fresh statistics.<\/p>\n<p><a href=\"https:\/\/dev.gentoo.org\/~mgorny\/articles\/improving-distfile-mirror-structure.html\">Continue reading<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The&nbsp;Gentoo distfile mirror network is essential in&nbsp;distributing sources to&nbsp;our users. It&nbsp;offloads upstream download locations, improves throughput and&nbsp;reliability, guarantees distfile persistency. The&nbsp;current structure of&nbsp;distfile mirrors dates back to&nbsp;2002. It&nbsp;might have worked well back when we mirrored around 2500 files but&nbsp;it proved not&nbsp;to&nbsp;scale well. Today, mirrors hold almost 70&nbsp;000 files, and&nbsp;this number has been causing problems for &hellip; <a href=\"https:\/\/blogs.gentoo.org\/mgorny\/2019\/10\/13\/improving-distfile-mirror-structure\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Improving distfile mirror structure&#8221;<\/span><\/a><\/p>\n","protected":false},"author":137,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3],"tags":[13],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts\/998"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/users\/137"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/comments?post=998"}],"version-history":[{"count":3,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts\/998\/revisions"}],"predecessor-version":[{"id":1001,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts\/998\/revisions\/1001"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/media?parent=998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/categories?post=998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/tags?post=998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}