ace v0.6.3 Ace.TCP.Server.Supervisor

Supervise a collection of servers, that are listening or handling connections.

Individual server processes can be stared from a supervisor, however recommended is to provide a constant sized number of accepting servers use a governor pool.

Summary

Functions

Callback implementation for c:Supervisor.init/1

Start a new server supervisor

Functions

init(app)

Callback implementation for c:Supervisor.init/1.

start_link(app, sup_opts \\ [])

Start a new server supervisor.

Each worker will be started with the same app defined behaviour.