GithubHelp home page GithubHelp logo

cheesewhiz's Introduction

Cheese Whiz Design

###Terms:

Cheese Whiz - Working name for the "runner" program that makes sure the processes that should be running are running.

Whizzifest - The manifest which contains the names and locations (formatted as processName|destination) of the processes that should be active in the current version.

###Requirements:

  1. Cheese Whiz should be able to periodically check what processes are running, and which are not running, in relation to what should be running.

  2. The list of programs that should be running will be created and maintained manually

  3. It should be able to start the programs that should be running and are not, and terminate the programs that are running and should not be.

  4. It should do all of this automatically and periodically.

###Components:

  • Cron Job - allows for automacy and periodicity

    the cron job activates the process that reads whizzifest

  • Read whizzifest - reads and sends the manifest of programs that should be running

    read whizzifest is activated by the cron job and passes a list of names and destinations to the process that checks running processes

  • Check running processes - checks which processes are running, returns what is not running that should be

    check running processes receives a list of names and destinations from the read whizzifest process and passes a string of processes that are not running but should be to the run inactive process

  • Run inactive - runs inactive processes that should be active and terminates active processes that should be inactive

    the run inactive process gets a string of processes that need to be executed and executes them.

###Additional Notes:

  • The completed program source should live in the master server and get pulled to each of the RPIs by quesofiesta

  • The third step (the process that checks for running processes) should recursively call itself until there are no remaining inactive processes that should be active

cheesewhiz's People

Contributors

sistermystery avatar edaniszewski avatar acencini avatar berrescuda avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Rohail Altaf avatar brendon walter avatar  avatar

cheesewhiz's Issues

Add restart function

Weedfox, I know you can do this. Your mission, which you have no choice but to accept, is to add a thing that will restart a given process on command.

CheeseWhiz needs maintenance

It's turning into a hack because of me. Just writing this here so that if I'm irresponsible people will know who's fault it is.

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.