Your personal app engine

This is an open-source cloud platform enabling you to build your own PaaS clouds using simple yet effective dynamic components.

Notable features:

At the moment, Cocaine Core supports the following languages and specifications:

Also, we have the following event drivers built-in:

li>Filesystem Monitor

A motivating example

{
  "type": "python",
  "engine": {
    "heartbeat-timeout": 60,
    "pool-limit": 20,
    "queue-limit": 5,
    "resource-limits": {
      "cpuset": {
        "cpuset.cpus": "0-3",
        "cpuset.mems": "1",
      }
    }
  },
  "drivers": {
    "ultimate-aggregator": {
      "emit": "aggregte",
      "type": "recurring-timer",
      "interval": 60000
    },
    "event": {
      "emit": "event",
      "type" : "native-server"
    },
    "spool": {
      "emit": "on_spool_changed",
      "type": "filesystem-monitor",
      "path": "/var/spool/my-app-data"
    }
  }
}

The JSON above is an app manifest, a description of the application you feed into Cocaine Core for it to be able to host it. In a distributed setup, this manifest will be sent to all the other nodes of the cluster automatically. Apart from this manifest, there is no other configuration needed to start serving the application.