MDN/Development/CompatibilityTables/Infrastructure: Difference between revisions

Document the current infrastructure
(Fix code blocks)
(Document the current infrastructure)
Line 66: Line 66:


The KumaScript-based '''table renderer''' is manually tested, and requires manually refreshing MDN pages when data changes. Stephanie Hobson has a [https://developer.mozilla.org/en-US/docs/User:stephaniehobson:compat test page] linking to interesting pages.
The KumaScript-based '''table renderer''' is manually tested, and requires manually refreshing MDN pages when data changes. Stephanie Hobson has a [https://developer.mozilla.org/en-US/docs/User:stephaniehobson:compat test page] linking to interesting pages.
== Current Infrastructure ==
'''MDN''' has a mature infrastructure, maintained in a data center.  It include load balancers, databases, search servers, admin nodes, and worker nodes. It also has a parallel staging infrastructure. The interface between MDN and the BrowserCompat services is over HTTP, so the MDN infrastructure does not matter to the BrowserCompat services, or vice-versa.
Many components run in Heroku at https://browsercompat.herokuapp.com:
* '''Data API''': https://browsercompat.herokuapp.com/api/v2
* '''Data Explorer''': https://browsercompat.herokuapp.com/browse/
* '''Importer''': https://browsercompat.herokuapp.com/importer/
* '''Authentication''': https://browsercompat.herokuapp.com/accounts/login/
The websites run on a Hobby Dyno, and async tasks run on a second Hobby Dyno. Add-ons are used for Memcache and Redis services, and a PostgreSQL add-on hosts both the ''BrowserCompat DB'' and the ''Importer DB''.
The '''C&M GUI''' is currently not deployed.
The '''Tables renderer''' doesn't exist yet.
'''API Documentation''' is hosted at http://browsercompat.readthedocs.org/en/latest/
67

edits