Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Mirror Engine Computer Science Capstone Tobias Hertkorn.

Similar presentations


Presentation on theme: "A Mirror Engine Computer Science Capstone Tobias Hertkorn."— Presentation transcript:

1 A Mirror Engine Computer Science Capstone Tobias Hertkorn

2 Debian Package Management Debian GNU/Linux is distributed freely over the Internet. You can download software in form of packages Packages take care of dependencies (e.g. libraries) An intuitive interface is apt-get

3 Debian Package Lists Stores all information about packages Package: apache Priority: optional Section: web Installed-Size: 772 Maintainer: Debian Apache Maintainers debian-apache@lists.debian.org Architecture: i386 Version: 1.3.29.0.2-4 Replaces: apache-modules Provides: httpd Depends: libc6 (>= 2.3.2.ds1-4), libdb4.2, libexpat1 (>= 1.95.6), libpam0g (>= 0.76), mime-support, apache-common (>= 1.3.29.0.2-4), apache-common ( = 5.8.3-1), perl ( = 3.5.4-1), dpkg (>> 1.9.0), libmagic1, debconf Suggests: apache-doc Conflicts: apache-modules, libapache-mod-perl (<= 1.17-1), jserv (<= 1.1-3) Filename: pool/main/a/apache/apache_1.3.29.0.2-4_i386.deb Size: 368144 MD5sum: 74e903085459a97107e69cd3d4acf868 Description: Versatile, high-performance HTTP server The most popular server in the world, Apache features a modular design and supports dynamic selection of extension modules at runtime. etc...debian-apache@lists.debian.org

4 Short Introduction to apt-get Configure /etc/apt/sources.list deb http://sluglug.ucsc.edu/debian/ stable main non-free contrib deb http://sluglug.ucsc.edu/debian/ testing main non-free contrib deb http://security.debian.org/ stable/updates main apt-get update Update the local package list(s) apt-get install apache Install a new software (including all packages this software depends on) apt-get upgrade Download newer packages and upgrade the local system

5 Getting Packages

6 apt-got – a mirroring engine

7 apt-got – status – key goals Reduce bandwidth usage –No concurrent downloads for packages –Local copies of package lists Reduce download time –No concurrent downloads for packages –Local delivery for packages      – Upload to local client blocks until all data from the server is received  

8 apt-got – status – secondary goals Easy to use –Intuitive configuration engine –Fire and forget –Error tolerant Extendable –Highly modular –Easy to program custom-made modules       

9 apt-got – planned improvements Critical –Create configuration infrastructure. –Dynamically load modules, prepare for different kinds of module flavors –Increase delivering speed to client by creating an apache module. –Create package-lists parser. –Create intelligent caching/purging algorithms.

10 apt-got – planned improvements Important –Parse all available source-lists and merge them –Get MD5sum from source-lists and check downloaded data before storing. –Solve “blocking”-problem when file is not yet downloaded. Optional –Create pre-fetch mechanism for frequently requested files and/or dependencies. –Create statistic-/download tracking-extensions.

11 Questions


Download ppt "A Mirror Engine Computer Science Capstone Tobias Hertkorn."

Similar presentations


Ads by Google