Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
cellular differentiation for seaport clusters
JavaScript
Tree: b5ae18e8a0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
README.markdown
index.js

README.markdown

zygote

Cellular-differentiation for worker drones in seaport clusters.

example

First start a seaport hub:

seaport 7000

Start an undifferentiated zygote worker drone:

zygote drone localhost:7000

Create a cluster plan:

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

Push the cluster plan to all the zygote drones:

zygote --seaport=localhost:7000 push cluster.json
Something went wrong with that request. Please try again.