Upgrade to Pro — share decks privately, control downloads, hide ads and more …

We can mirror it for you, wholesale

We can mirror it for you, wholesale

How do you build world-class, highly scalable web applications without access to the Internet? How can you take the useful pieces of the Internet with you to a Napoleonic sea fort… and why would you even want to?!

After spending a year building a suite of open-source tools to clone large chunks of the Internet, Steve realised there are far wider applications for this than “I want to live in a fort without Internet access”, and that decoupling can be a good thing for you, your team, your infrastructure, and your software.

Steve Marshall

September 26, 2014
Tweet

More Decks by Steve Marshall

Other Decks in Technology

Transcript

  1. $ rsync --archive --delete \ > --compress --progress \ >

    cpan.org::CPAN \ > /data/cpan $ rsync --archive --delete \ > --compress --progress \
  2. $ rsync --archive --delete \ > --compress --progress \ >

    ietf.org::internet-drafts \ > /data/ietf
  3. $ rsync --archive --delete \ > --compress --progress \ >

    ftp.funet.fi::ftp/pub/\ > mirrors/ftp.imdb.com/pub \ > /data/imdb
  4. $ git clone --shared --bare \ > $SOURCE_URI \ >

    $TARGET_DIR $ cd $TARGET_DIR $ git update-server-info
  5. 1) The Mirror’s IP must be registered at pear.php.net as

    a valid mirror 2) The Mirror must be registered as a DNS alias in the form xx.pear.php.net (us.pear.php.net, de.pear.php.net, etc.) —Mirroring pear.php.net
  6. The central repository is over 180 GB and growing. To

    save us bandwidth and you time, mirroring the entire central repository is not allowed. —Creating Your Own [Maven] Mirror