Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Cached Repository Configuration
Problem:
Mylyn periodically checks config.cgi to retrieve the repository configuration. On Eclipse.org this resulted in heavy CPU Load for the regeneration and a big surge in band width use.
-
This configuration seldom changes so can be cached and served from a file instead of being regenerated every time.
This file is about 900K on bugs.eclipse.org. -
When generated bugzilla output contains a lot of unnecessary whitespace which can be trimmed before caching.
On eclipse org this reduces the file to about 660K. -
The remaining file contains a lot of redundancy so can be gzipped for further reduction.
On eclipse.org this leaves about 28K This is a considerable saving.
Mylyn:
Mylyn has been modified to accept gzip encoding on all requests, and will do content negotiation. See bug 205708.
Bugzilla:
Change the name of config.cgi to config-stock.cgi and get the caching code in a new config.cgi.
The current version of this caching config.cgi script is hosted at:
CVS: :pserver:anonymous@dev.eclipse.org:/cvsroot/technology/org.eclipse.phoenix/infra-scripts/bugzilla/
or
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.phoenix/infra-scripts/bugzilla/?root=Technology_Project
Modifications on this script are followed on bug 205416