Erlang in Anger
Erlang in Anger
by Unknown author
41mentions
24recommended by
27HN commenters
2015–2026first – last mentioned
89% recommend11% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.








For anyone jumping into Elixir/Erlang, here's a few great books you should look into: * Learn You Some Erlang http://learnyousomeerlang.com/ * Erlang in Anger http://www.erlang-in-anger.com/ * Programming Elixir 1.2 https://pragprog.com/book/elixir12/programming-elixir-1-2 For working with larger scale Elixir apps, a working knowledge on the erlang vm/beam.smp…
on “Elixir and Phoenix – hands-on introduction” ↗Erlang in Anger (Frank Herbert): http://www.erlang-in-anger.com
on “Metaprogramming Elixir” ↗Looks nice, but I think there are already some good introductions to Erlang. I wish there were more things like this: http://www.erlang-in-anger.com/
on “Études for Erlang” ↗> I wanted to debug something > I've analyzed Erlang strace > "Erlang is complicated" If you want to debug Erlang program then Erlang/OTP already includes tools to help you do that: http://www.erlang-in-anger.com/ - 92 page manual that includes: - tracing functions called with defined parameters - analyzing crash dumps, memory leaks, cpu scheduling
on “Investigating Erlang by reading its system calls” ↗…distribution contains an amazing distributed database called Mnesia. For books, read the AOSA Chapter on Riak (http://www.aosabook.org/en/riak.html) and then read through the tutorials on Riak Core. Oh, and Erlang in Anger https://s3.amazonaws.com/erlang-in-anger/text.v1.0.3.pdf
on “The Infrastructure Behind Twitter: Scale” ↗Wah. Easy there, Satan :-) That is cool trick though. So it's basically sending the port itself around and changing its ownership, with something like port_connect(Port,NewOwner)? And btw, thank you for writing https://www.erlang-in-anger.com and http://learnyousomeerlang.com !
on “How Discord Scaled Elixir to 5M Concurrent Users” ↗Erlang/Elixir debugging is world-class. You can directly instrument functions running in production with fairly little overhead. I highly suggest reading "Erlang in Anger" by ferd/MononQC. It (and his recon library) are indispensable tools for people running Erlang or Elixir in prod.
on “Porting 4.5K lines of C to Go” ↗Which part or just in general ops with Erlang? Overall I would say this book is a good start https://www.erlang-in-anger.com/ Supervisors are just a general pattern in Erlang. Any book will have something about it. I like this one: https://learnyousomeerlang.com/supervisors Restarting frequency and limits are just one of the parameters you specify. So don't need to do anything fancy or special
on “Achieving 100k connections per second with Elixir” ↗Fred's blog, and Learn You Some Erlang for Great Good are invaluable, but on the topic of production systems, his ebook Erlang In Anger (https://www.erlang-in-anger.com/) is excellent as well - honestly it's hard to overstate just how much good he's done for the community in terms of documenting and philosphizing about Erlang, architecture and operating production systems. He's solid gold!
on “The hunt for a cluster-killer Erlang bug (2021)” ↗There are at least two great free books: http://www.erlang-in-anger.com/ ! :)
on “Why Erlang Matters” ↗His other writings are good too. I recommend Erlang in Anger.
on “The Zen of Erlang (2016)” ↗Speaking of awesome, check out other stuff Fred Hebert wrote. Learn You Some Erlang For Great Good: http://learnyousomeerlang.com/ His blog posts are great too: http://ferd.ca/ And his new (free) book, Erlang In Anger: http://www.erlang-in-anger.com/
on “Awk in 20 Minutes” ↗http://www.erlang-in-anger.com/ would probably be a great place to start for this.
on “Ask HN: Operational experiences with Elixir-lang” ↗…information. You'll find that an undocumented library follows one of a small handful of designs and a quick peek into the source is all you really need. Once you get the Erlang->Elixir relationship, I recommend Erlang in Anger.
on “When would you choose Erlang? (2013)” ↗There is Erlang In Anger by Fred Hebert as a starting point http://www.erlang-in-anger.com/
on “Ask HN: Who is interested in a book about high performance Erlang?” ↗