🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

What about Load Balancer

Started by
10 comments, last by hplus0603 8 years, 1 month 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).

-

Advertisement

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