Child pages
  • Backend
Skip to end of metadata
Go to start of metadata

Backend (Flamongo)

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

Database - MongoDB (data stored as JSON-style documents)

PyMongo for interfacing with MongoDB

{
    "login": String,
    "user-sessions": Number,
    "hostname": String,
    "os": String,
    "version": String,
    "timestamp": DateTime
}

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)

Hardware

We will request a VM (xen or VMWare slice).

We can install Mongo via the pre-built binary from http://www.mongodb.org/.

The python binding can be installed via pip (pip install pymongo). Docs: http://api.mongodb.org/python/

README

== Lab Metrics Backend ==

Dependencies:

  • No labels