Skip to content
cdn.debian.net controller ver.4
Ruby CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db
doc
lib
public
script
test
vendor/plugins
.gitignore
Gemfile
README.md
Rakefile
config.ru

README.md

CnameQRV4

It is control panel for cdn.debian.net. http://www.slideshare.net/ar_maniacs/araki-gemdebian2013b

Components of cdn.debian.net

  1. CnameQRV4 (Control plane): It is included in this package. Run as a Rails Application on httpd.
  2. HTTP checker for surrogate.
  3. DNS (derived from DNSbalance. It is NOT included in this package. See https://github.com/armaniacs/cdn-dns )

Components of CnameQRV4

CnameQRV depends many of libraries.

  • Rails4.0
  • aws-sdk
  • dalli (memcached library for ruby)

Run

CnameQRV4 is running as an application of rails.

Cron run for periodic check

Set following configuration by crontab -e.

*/10 * * * * /usr/bin/curl localhost/check/check20 >/dev/null

/check/check20 picks 20 hosts. It delegates healthcheck of mirror servers through SQS.

You can’t perform that action at this time.