155
edits
(→Redis) |
(remove python) |
||
| Line 2: | Line 2: | ||
= Languages = | = Languages = | ||
The backend architecture (galaxy-api) is written in Node.js. | |||
[For real-time, socket-based parts, we should also consider Go] | [For real-time, socket-based parts, we should also consider Go] | ||
| Line 10: | Line 8: | ||
== Node.js == | == Node.js == | ||
=== Pros === | === Pros === | ||
* Galaxy API prototypes have been written in Node.js | |||
* Mozilla has deployed Node.js projects to scale (e.g., Persona, FxA) | * Mozilla has deployed Node.js projects to scale (e.g., Persona, FxA) | ||
* Node community is vibrant | * Node community is vibrant | ||
| Line 22: | Line 21: | ||
* Event-driven, asynchronous; callbacks are a pain (but we have promises!) | * Event-driven, asynchronous; callbacks are a pain (but we have promises!) | ||
* Few mature SQL ORMs (Knex, Bookshelf, Sequelize are decent); NoSQL is usually preferred | * Few mature SQL ORMs (Knex, Bookshelf, Sequelize are decent); NoSQL is usually preferred | ||
= Data Models = | = Data Models = | ||
edits