[erlang-questions] Spawning slaves for separation

Max Lapshin <>
Mon Jun 23 13:36:04 CEST 2014


On Mon, Jun 23, 2014 at 11:28 AM, Roger Lipscombe <>
wrote:

>
> 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?
>

Yes.


> - 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.html>


More information about the erlang-questions mailing list