Sits on top of a database
Handles requests from the Aggregator to write to the database
Handles requests from the Frontend for information from the database to be used for rendering
Database - MongoDB (data stored as JSON-style documents)
PyMongo for interfacing with MongoDB
Note: user-sessions refers to the number of concurrent sessions the user has (e.g. if the user is sitting at the computer and is also ssh'd in from a different computer, then it should be 2)
We will request a VM (xen or VMWare slice).
We can install Mongo via the pre-built binary from http://www.mongodb.org/.
== Lab Metrics Backend ==
- MongoDB (NOTE: the mongodb package in the repository doesn't work properly with Ubuntu. Follow these steps instead: http://www.crashcourse.ca/content/getting-started-mongodb-under-ubuntu )
- ALSO: you must create the data directory:
- PyMongo (see directions here: http://api.mongodb.org/python/1.9%2B/installation.html )