Git Product home page Git Product logo

skynet-1's Introduction

Skynet as a Service

Skynet, the main antagonist in the Terminator franchise, is a fictional artificial intelligence system which becomes self-aware and decides to terminate humanity, its creators. Skynet is rarely seen onscreen, with its actions often performed via robots, cyborgs (usually a Terminator), and other computer systems.

Skynet, the Baltimore Hackathon antagonist, is a proof-of-concept application for applying concepts in Parallel Computing to the Cloud Computing deployment and provisioning model. Customer jobs can be submitted through Skynet's state-of-the-art (for 1980's-era entertainment) interface, split up equally across a customer-requested number of processing nodes, sorted, reduced, and aggregated for the final result.

Deployment

In order to simplify deployment we're making use of David Dollar's excellent heroku-buildpack-multi project. This allows you to run concurrent Heroku processes using ddifferent languages/buildpacks.

Initial Setup

$ git clone https://github.com/obfuscurity/skynet.git
$ cd skynet
$ heroku create -s cedar --buildpack heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git sky-net-multi
$ heroku addons:add redistogo -a sky-net-multi
$ heroku addons:add heroku-postgresql:dev -a sky-net-multi

Local

$ export RACK_ENV=development
$ export S3_BUCKET=skynet-mr
$ export S3_KEY=...
$ export S3_SECRET=...
$ export HEROKU_API_SCALING_URL=https://api.heroku.com/apps/sky-net-multi/ps/scale
$ foreman start

Platform

$ heroku config:add -a sky-net-web RACK_ENV=production
$ heroku config:add -a sky-net-web S3_BUCKET=skynet-mr
$ heroku config:add -a sky-net-web S3_KEY=...
$ heroku config:add -a sky-net-web S3_SECRET=...
$ export HEROKU_API_SCALING_URL=https://api.heroku.com/apps/sky-net-multi/ps/scale
$ heroku ps:scale web=1 splitter=1 scheduler=1 -a sky-net-web

skynet-1's People

Contributors

obfuscurity avatar dhobsd avatar

Watchers

James Cloos avatar Carlos Medrano 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.