Line 5: |
Line 5: |
| 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. | | 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. |
| | | |
− | Mirrorbrain, Bouncer, Fedora Mirror Manager, and Cacheboy are four possible choices for scaling up the Sugar Labs content delivery network. Long term, Cacheboy looks like it might be the best fit for Sugar Labs, but the project must become more stable before becoming Sugar Labs primary CDN. Bouncer is currently being used as successfully by Mozilla. But development ended at the end of 2008. Mozilla is currently investigating Mirrorbrain. Mirrorbrain looks promising.
| + | ==Mirrors== |
| + | The current list of available mirrors is available at http://mirrors.sugarlabs.org/ |
| | | |
| ==Goals== | | ==Goals== |
− | * Reduce bandwith at primary download server. | + | * Reduce bandwidth at primary download server. |
| * Improve quality of service for users. | | * Improve quality of service for users. |
| * Move content closer to users. | | * Move content closer to users. |
| | | |
− | ==Mirrors== | + | ==Setting up a Mirror== |
− | </noinclude>
| + | Setting up a mirror is very easy. All you need is a web server which is available via http, and (if possiable) rsync. |
− | <includeonly>==[[Infrastructure Team/Content Delivery Network|Content Delivery Network]]==</includeonly>
| |
− | :wq
| |
− | === Local Mirrors ===
| |
− | | |
− | Here is a list of localized mirrors, please select a mirror close by and try to avoid to the main site:
| |
− | | |
− | {|class="schedule sortable"
| |
− | ! http !! ftp !! rsync !! country !! sync !!mirrorhost !! stats !! contact
| |
− | |-
| |
− | | [http://download.sugarlabs.org/ download.sugarlabs.org]
| |
− | | [ftp://download.sugarlabs.org/ ftp]
| |
− | | rsync://download.sugarlabs.org/
| |
− | | Boston MA
| |
− | | 0
| |
− | | Sunjammer
| |
− | | -
| |
− | | [[User:Bernie|Bernie]]
| |
− | |-
| |
− | | [http://ftp.nluug.nl/pub/os/Linux/distr/Sugar ftp.nluug.nl]
| |
− | | [ftp://ftp.nluug.nl/pub/os/Linux/distr/Sugar ftp]
| |
− | | rsync://ftp.nluug.nl/sugar
| |
− | | The Netherlands
| |
− | | 1x24h
| |
− | | [http://nluug.nl NLUUG]
| |
− | | [http://ftp.nluug.nl/.statistics stats]
| |
− | | [[User:Marten|Marten]]
| |
− | |-
| |
− | |}
| |
− | | |
− | ===Becoming a Mirror===
| |
− | rsync -avz --exclude=soas/snapshots --exclude=soas/xoimages rsync://sunjammer.sugarlabs.org/pub ~/d3.sl.o
| |
− | | |
− | ==== Monitoring ====
| |
− | | |
− | There is some basic information on the status of our mirrors.
| |
− | | |
− | Your can find it here, http://martenvijn.nl/sugar_mirror.html
| |
− | | |
− | ===[http://mirrorbrain.org/ Mirrorbrain]===
| |
− | Mirrrorbrain is used by several major project including opensuse and openoffice. It is quite stable, under activate development, and well documented,
| |
− | | |
− | ====Installation from scratch====
| |
− | Please see http://mirrorbrain.org/docs/installation/debian/ . Our Sugar Labs installation instructions have become the official mirrorbrain on ubuntu instructions.
| |
− | | |
− | ====Installation from packages====
| |
− | Add the following line to sources.list to get the latest packages for the opensuse build system.
| |
− | | |
− | sudo vim /etc/apt/sources.list
| |
− | | |
− | deb http://download.opensuse.org/repositories/Apache:/MirrorBrain/xUbuntu_9.04/ /
| |
− | | |
− | ====Install the mirrorbrain packages====
| |
| | | |
− | sudo apt-get update
| + | Please contact systems@sugarlabs.org if you are interested. |
− | sudo apt-get install mirrorbrain mirrorbrain-tools mirrorbrain-scanner libapache2-mod-mirrorbrain libapache2-mod-autoindex-mb
| |