Giter Site home page Giter Site logo

configurer's Introduction

Configurer

Provides a way to simplify configuration management on Google App Engine applications (Java).

=========== Some basic notes ===================== :

A distributed configuration management for GAE application. Idea is to place configurations in cloud storage and poll for changes. Configurations are parsed and stored in Datastore and primarily served from Memcache.

(Future Roadmap) - Configurations are also stored in local cache per instance using a LRU queue to avoid API call latencies. A flag is placed in an instance which is dirtied with configuration changes.

Application exposes a handler that allows Admin users to upload a JSON file to cloud storage which is subsequently parsed and stored in Datastore and Memcache. (Also look into cloud storage object change notification). Additionally, Admin can also specify an existing Cloud Storage file location to kickoff the task post deployment.

Configurations can be set at different levels:

		App ---|
			   |
		      Module ---|
						|
					 Version ---|
								|
							Namespace

As configuration files can be large in size, an streaming API should be used to read and parse configurations. N (Configurable) number of backups should be maintained and it should be easy to revert configurations if necessary. AuditLog of every config change should also be maintained.

Config location - gs://{app-id}/configurations/app-config.json

Design:

									--------------
				---------------->  | Cloud Storage | ---------------	
				|					--------------                 |
				|                                                  | Parse/Verify/LogAudit config file
				|                                                  |
				|												   V	
  ---------------------------------   RPC through URLFetch    -------------    Store          ---------------
 | GAE Frontend App Config Handler |  -------------------->  | GAE Backend |  -------------> | GAE Datastore |
  ---------------------------------                           -------------                   ---------------
																	|								|
																	| Store							|
																	V								|
															  --------------                        |
															 | GAE Memcache |                       |
															  --------------                        |
																    |                               |
																	|                               |
																	V                               |
															  -------------      Failover to        |
															 | Application | <----------------------|
															  -------------

TODO - Add libraries and data structures to be used.

configurer's People

Contributors

ksaket avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.