maciejw maciejw

Niner since 2012


  • Rx Workshop: Programming the Cloud

    I think Erlang is much much simpler... this stuff ... it simply smells from a mile:)

    I know that its possible to do it, but is it easy stuff, can you explain it to a junior quickly?

    what you are trying to do with this azure scheduler is similar to what erlang can do of of a box, you have a problem passing stuff across boundaries, in Erlang you can send new code to execute on remote machine, and do upgrade on a fly, I don't expect that behavior here. Its almost indistinguishable, to pass a message across processes on a single node and across processes on different nodes, I know that only form of cross process communication in Erlang is message passing, and the whole VM and language semantics is built on that notion.

    This code is self-explanatory 

    Pid ! {self(), Message}.


    {process_name, Node} ! {self(), Message}.

    you see the code and you say immediately, a got it, the only what you have to know is that "!" sends a message, whereas in your example, aaaa ok I have to remember that we go remote and we have to pass values in a certain way, and we have to remember that this work should be done on remote sheduler, etc, etc, it is not simple... very long way ahead of you... locally RX is great stuff, and I'm fascinated by it, but this azure scheduler stuff is to put it simply is over the top.