Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Cached Repository Configuration"

(New page: <h2>Problem:</h2> 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...)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<h2>Problem:</h2>
+
Moved to: http://wiki.eclipse.org/index.php/Mylyn_FAQ#Tips_for_server_administrators
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.
+
 
+
<ul><li>
+
This configuration seldom changes so can be cached and served from a file instead of being regenerated every time.<br />
+
This file is about <em>900K</em> on bugs.eclipse.org.
+
</li><li>
+
When generated bugzilla output contains a lot of unnecessary whitespace which can be trimmed before caching.<br />
+
On eclipse org this reduces the file to about <em>660K</em>.
+
</li><li>
+
The remaining file contains a lot of redundancy so can be gzipped for further reduction. <br />
+
On eclipse.org this leaves about <em>28K</em> This is a considerable saving.
+
</li></ul>
+
 
+
<h2>Mylyn:</h2>
+
Mylyn has been modified to accept gzip encoding on all requests, and will do content negotiation. See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=205708 bug 205708].
+
 
+
<h2>Bugzilla:</h2>
+
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:<br />
+
CVS: <code>:pserver:anonymous@dev.eclipse.org:/cvsroot/technology/org.eclipse.phoenix/infra-scripts/bugzilla/</code><br />
+
or
+
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.phoenix/infra-scripts/bugzilla/?root=Technology_Project
+
 
+
Modifications on this script are followed on [https://bugs.eclipse.org/bugs/show_bug.cgi?id=205416 bug 205416]
+

Latest revision as of 16:34, 8 September 2009

Moved to: http://wiki.eclipse.org/index.php/Mylyn_FAQ#Tips_for_server_administrators

Back to the top