[erlang-questions] Spawning slaves for separation

T Ty tty.erlang@REDACTED
Mon Jun 23 13:38:39 CEST 2014


When the slave node crashes do you have to do anything special as part of
clean-up ? I'm just wondering why not spin the slave node up using
-heart and have it auto-restart.

Thanks


On Mon, Jun 23, 2014 at 12:36 PM, Max Lapshin <max.lapshin@REDACTED> wrote:

>
> On Mon, Jun 23, 2014 at 11:28 AM, Roger Lipscombe <roger@REDACTED>
> 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.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140623/60d000fc/attachment.htm>


More information about the erlang-questions mailing list