Service/mirrors

From Sugar Labs
Jump to navigation Jump to search

Team Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

Introduction

A content delivery network or content distribution network (CDN) is a system of computers containing copies of data, placed at various points in a network so as to maximize bandwidth for access to the data from clients throughout the network. A client accesses a copy of the data near to the client, as opposed to all clients accessing the same central server, thereby causing a bottleneck near that server.

Mirrors

The current list of available mirrors is available at http://mirrors.sugarlabs.org/

Goals

  • Reduce bandwidth at primary download server.
  • Improve quality of service for users.
  • Move content closer to users.

Setting up a Mirror

Setting up a mirror is very easy. All you need is a web server which is available via http, and (if possible) rsync.

Please contact systems@sugarlabs.org if you are interested.

System Summary

The Sugar Labs Content Delivery Network uses MirrorBrain as a redirector. The redirector, which lives in a Sugar Labs data center, keeps track of which files are available on which mirror. When a a user requests a file, the redirector points the user to the correct mirror and automatically starts the file download.

Mirrors

Mirrors are completely passive. To set up a mirror, an mirror system administrator needs to:

  • Set up rsync job to synchronise a copy of the files on downloads.sugarlabs.org onto their local system.
  • Alert the Sugar Labs system administrators that they would like their mirror into rotation.

Redirector

  • Register mirror with mirrorbrain.
  • mirror probe