Closed Bug 574524 Opened 14 years ago Closed 14 years ago

Have Apache gzip output of Tinderbox CGIs

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: fox2mike)

References

Details

Bug 390341 adds a cache for the brief and full reports that tinderbox generates as well as gzip encoding support, but requires a lot of change to Tinderbox and testing which may be still a ways away. Perhaps the Apache that runs tinderbox.m.o could use mod_deflate and gzip-encode text/html and text/xml instead of the CGI having to do it: AddOutputFilterByType DEFLATE text/html text/plain text/xml Please note that this is in addition to the text/javascript change added in bug 571085. This should probably be tested on tinderbox-stage.m.o first, I have done a little local testing but it should be tested on real data first.
Blocks: 390341
Done. Unfortunately, tinderbox-stage currently points to tinderbox...so it's the same change for both. Reopen in case you see any issues.
Assignee: server-ops → shyam
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Disregard that last comment, I made the change to stage. Production tinderbox isn't the same and doesn't have this, yet.
Cool thanks this helps a ton... it's a gigantic difference, even though the latter case had a much higher avg dload speed: """ $ curl --header 'accept-encoding: gzip' 'http://tinderbox-stage.mozilla.org/showlog.cgi?log=Firefox/1277739863.1277741220.10483.gz' > test.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 809k 0 809k 0 0 27818 0 --:--:-- 0:00:29 --:--:-- 24229 $ curl 'http://tinderbox-stage.mozilla.org/showlog.cgi?log=Firefox/1277739863.1277741220.10483.gz' > test.html % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 55.8M 0 55.8M 0 0 91959 0 --:--:-- 0:10:36 --:--:-- 99k """ I ran this several times and got consistent results. It seemed to take 10-15s for the download to start, which I assume is the time it takes tinderbox-stage to process the original log file, and is going to of course depend on the size and contents of the original log (~59MB in this case). For reference, downloading the original log file takes around 10-15s (already gzipped and served without processing).
This could use some testing before being deployed to production, maybe pick a day and announce in blogs/newsgroups/etc? Shyam do you want a separate bug for that?
Yeah, that would be nice. File a new one, reference this bug (in case I'm not around, someone else will know what needs to be changed).
Blocks: 577324
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.