Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
cellular differentiation for seaport clusters
JavaScript
Tag: 0.0.1
Failed to load latest commit information.
bin include hashbang
example/z a passing test
test a passing test
.travis.yml node 0.4 doesn't seem to work
README.markdown using travis
index.js a passing test
package.json include hashbang

README.markdown

zygote

Cellular-differentiation for worker drones in seaport clusters.

build status

example

First start a seaport hub:

seaport 7000

Start several undifferentiated zygote worker drones on different machines:

zygote drone localhost:7000

Create a cluster plan:

{
    "web" : {
        "number" : 2,
        "command" : "node web.js"
    },
    "auth" : {
        "number" : 1,
        "command" : "node auth.js"
    },
    "encoder" : {
        "number" : 3,
        "command" : "node encoder.js"
    }
}

Push the cluster plan to all the zygote drones:

zygote --seaport=localhost:7000 push cluster.json

Now there are 2 web, 1 auth, and 3 encoder services running across all your zygote drones!

Modify the cluster plan and run zygote push again to update what all the zygote drones are running.

install

With npm do:

npm install zygote

license

MIT

Something went wrong with that request. Please try again.