-
Notifications
You must be signed in to change notification settings - Fork 277
AppDB
Executive Summary: Configures and deploys datastores needed for the Google App Engine datastore API.
Google App Engine applications generally need to persist some state. The AppDB component allows for different NoSQL technologies to plug into AppScale.
It persist data by providing a REST interface for AppServers to request database operations. Requests are sent in protocol buffer serialization. Request include: Put, Get, Delete, Query, BeginTransaction, CommitTransaction.
Whenever an application does a call to the datastore API.
AppDB runs on any node which has a database role, whether it be a master or a slave.
AppDB code is mostly written in Python, although the start scripts for Cassandra and ZooKeeper are in Ruby. The code can be found in appscale/AppDB. The high level web service is datastore_server.py and runs on port 8888.
Tests are written with test/unit and flexmock. You can run all the tests in a given directory with "nosestest".