Lookery Dev Blog RSS

"Stream of geeky consciousness..." @electromute


Authors
@ckelly@danmil
@dcancel@eliast

Friends


Archive

Jan
14th
Wed
permalink

Back in Erlang Today…

…and, I have to say, for writing async/parallel code, it’s just awesome.  I sometimes think I’m drinking the shiny new technology-flavored kool-aid when I talk about Erlang (which kool-aid I desperately try to avoid, personally), but then someone gives me a task like:

Write a chunk of code to load balance HTTP requests between two identical cache servers, failing over to one if the other goes down.

And as I write it in Erlang, it’s just such a perfect fit.

Oh, and for any regular readers of this blog, I actually caught myself today saying “Hey, records are working really well right here.”  That’s right, records.  I know.  After all the abuse I’ve heaped on them.  Built-in dicts are still very much missing from the langauge, don’t get me wrong, but records work pretty well for holding state inside gen_server loops.

-Dan M

Comments (View)
blog comments powered by Disqus