About Active Cloud DB
Active Cloud DB is a Google App Engine application that
exposes a RESTful API to the Google Datastore API. In short, this means that
you can use Active Cloud DB as a web interface to any database that supports
the Google Datastore API. It runs seamlessly over Google's BigTable as well
as any datastore supported by AppScale, the open-source implementation of
the Google App Engine APIs. As of this writing, you can use Active Cloud DB
over the following datastores when running over AppScale:
- HBase
- Hypertable
- MySQL
- Cassandra
- Voldemort
- MongoDB
- MemcacheDB
- Scalaris
You can use the web interface here to manually get, put, query, and delete items. Alternatively, the RESTful interface works as follows. Items are stored as a key-value pair within the underlying datastore. Users can get the value for a given item by specifying its key, store an item by specifying its key and value, or deleting an item by specifying its key. Alternatively, users can query the datastore, which returns all the keys and values in the datastore. This can be done in a RESTful fashion by making these types of requests:
- Get operation: Perform a GET request to
http://{this ip}:{this port}/resources/keyname - Put operation: Perform a POST request to
http://{this ip}:{this port}/resources/keyname
with the value encoded in the request parameters (using the parameters {'value':value}). - Query operation: Perform a GET request to
http://{this ip}:{this port}/resources - Delete operation: Perform a DELETE request to
http://{this ip}:{this port}/resources/keyname