Advertisement

What about Load Balancer

Started by May 24, 2016 04:35 PM
10 comments, last by hplus0603 8 years, 5 months ago

If master server spins up a new slave server, how do the other slave servers know about it?


Perhaps he can build it on top of Erlang, where the platform takes care of that bit?
We built ours on Erlang, and it was probably the right choice. It's certainly worked mostly fine for the last 5-6 years or so.
Note that we have hash-based linear scaling, rather than N-squared scaling; that certainly helps!

Heard good things about Erlang. Now I am really curious to try it out :D

If you are interested in erlang, you might one to check out elixir (http://elixir-lang.org/).. I haven't tried it yet, but it has nicer syntax than erlang (imo).

-

it has nicer syntax than erlang (imo).


My opinion is that it has a syntax that is easier to start learning for newcomers from non-functional languages, but it actually adds additional hidden costs and can lead you to write less efficient code without realizing it.

I'd suggest just tackling the Erlang syntax head on.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement