christianparpart / x0

Xzero HTTP Application Server
MIT License
110 stars 16 forks source link

[director] Clusters on Demand #69

Open christianparpart opened 11 years ago

christianparpart commented 11 years ago

Spawn (and terminate) whole clusters on demand, not just their backends.

It should also be possible to specify a custom TCP listener port as well as a hostname that should be matched in order to pass the incoming request to the given cluster.

It should also support a terminate protection to not terminate a whole cluster accidentally. Statically declared clusters are always termination protected.

Creating a Cluster.

PUT /director/:name?port=80&host=xzero.io

At least one of port or host must be provided in order to get selected. Both values can be updated at runtime.

ghost commented 11 years ago

Nice idea :)