[erlang-questions] Spawning slaves for separation

Max Lapshin max.lapshin@REDACTED
Mon Jun 23 13:36:04 CEST 2014

On Mon, Jun 23, 2014 at 11:28 AM, Roger Lipscombe <roger@REDACTED>

> I'm considering a design like this for something we're doing. I have
> some questions about it.
> - Are you running one transcoder in each slave?


> - Are you finding the fact that each slave is a separate node is a
> resource problem?

No. Transcoding video is a very CPU consumptive task. One fast server can
process 5-20 video streams at a moment. Not more.

> - What are you using to manage the slaves, particularly w.r.t recovering
> from crashes in the NIF?

When slave is dead, it is catched by monitoring process and it restarts
this node.

> - How are you communicating with the slave?

via erlang distribution. Bandwidth between nodes is not an issue, because
CPU is a hardest limit in this task.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140623/aecf09ad/attachment.htm>

More information about the erlang-questions mailing list