You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Content

The content of the update center (nbm files, etc.) is distributed through the Apache Mirror System

These nbm files (NetBeans modules) are currently changed on each major Apache NetBeans release (or release candidate, etc.)

Analytics

The Apache NetBeans (incubating) project is interested in keeping track of how many modules are downloaded, so we can minimize the bandwidth consumed on each release, and understand which modules are most downloaded.

Since it's not currently possible to look at the log files of the Apache Mirror System, we've devised the following mechanism to keep track of this information:

  • The Apache NetBeans IDE downloads the update center contents from https://netbeans.apache.org/nb/updates/9.0/
  • This .htaccess file then redirects this request to the Apache NetBeans VM Box.
  • The requested file is logged into the Apache NetBeans VM Box web server log.
  • A second redirection (using the file at /var/www/html/uc/9.0/.htaccess in netbeans-vm.apache.org) sends the request to a closest Apache Mirror, building an url that uses the closer.lua Apache Mirror Redirection Script that returns the URL of the closest Apache Mirror for the binary.
  • No labels