Update:Archive/2.0/Architecture and General Design/Infrastructure: Difference between revisions

m
no edit summary
mNo edit summary
Line 21: Line 21:
== Web/Application Servers ==
== Web/Application Servers ==


We are using Apache2 + PHP 4 on top of Linux machines right now.  Right now, we only have one application server for addons/pfs and we need to fix that asap.  The current application server is running RHEL 3.
We are using Apache2 + PHP 4 (4.3.8) on top of Linux machines right now.  Right now, we only have one application server for addons/pfs and we need to fix that asap.  The current application server is running RHEL 3.


The Application Update Service now lives on a separate webserver running Apache2+prefork, without the assistance of squid.  The actual update.mozilla.org domain is served from this box, too.  We discovered by trial and error (and my was it an error!) that Apache is much more efficient at handling 301/302 redirects than squid+squirm is, and that we have far less load if we just serve the RDF file from update.mozilla.org if that's the domain the client browser requests it from (which should slowly diminish as people upgrade) instead of redirecting them to aus.mozilla.org.  Requests for URIs that belong to PFS or addons are redirected to those domains.
The Application Update Service now lives on a separate webserver running Apache2+prefork, without the assistance of squid.  The actual update.mozilla.org domain is served from this box, too.  We discovered by trial and error (and my was it an error!) that Apache is much more efficient at handling 301/302 redirects than squid+squirm is, and that we have far less load if we just serve the RDF file from update.mozilla.org if that's the domain the client browser requests it from (which should slowly diminish as people upgrade) instead of redirecting them to aus.mozilla.org.  Requests for URIs that belong to PFS or addons are redirected to those domains.
83

edits