Git Product home page Git Product logo

cool's Introduction

What is this

A simplified reliable distributed (and ideally scalable) version of a thing somewhat akin to heat and warm, but really not either.

The general idea

  1. Receive user request to build X via REST (applying typical OpenStack authn/z and such to make this happen); if not authorized blow up and return typical error.
  2. Parse build X request into some useful internal structure Y (at the same time validate it); if request is invalid, blow up and return typical error.
  3. Drop internal structure Y into a per-build zookeeper Z directory and return back a identifier (an encoded version of the directory Z per-say) that can be sent back in to see the current status of whatever was requested to build.
  4. Worker (one of many) watching zookeeper takes ownership of build directory Z and progresses build through needed steps (updating zookeeper with status so that user can request status of build X and get back useful information); if worker dies, another worker takes over and continues, if build is not possible due to runtime issue, fail build and leave note that can be fetched by future user request with details on why/what failed.
  5. Build X finishes, profit! Now either delete build directory Z in zookeeper or leave it and prune it at a later date (via a mechanism akin to cache eviction or garage collection).

cool's People

Contributors

harlowja avatar

Stargazers

Rick van de Loo 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.