6 ms·
Ask HN: Who is interested in a book about high performance Erlang?
I wrote an article how to learn Erlang by example [1] which got a lot of good feedback recently when it was posted on HN. Thanks for the good feedback! :)
The past weeks I am working on finding bottlenecks and try to improve the performance of Erlang Open Source projects.
Based on my findings and insights I was asking myself if you would be interested in a book about way to measure and improve Erlang performance. Like my blogpost it would use real world examples, this time from more Open Source Erlang projects.
What do you think?
Best,
Robert
[1] http://robert-kowalski.de/blog/lets-learn-erlang-and-fix-a-bug-on-a-couchdb-cluster/
- dudul 11y agoI would be interested. Even though I'm moving to Elixir I'm sure most of the best practices can be ported.
- arca_vorago 11y agoSame here, I have been trying to get into Elixir and am skipping doing Erlang first, but I'm sure I'm going to have to go back and review Erlang principles more in depth as I progress.
- dbasner 11y agoI'd love to read that! I'm new to errand but found your method of teaching erlang by fixing a real bug in a real project to be incredibly interesting and useful!
- dpeck 11y agoI'd buy it. Hell I'd pre-order it.
- mendozao 11y agoI'm really interested in a Fundamentals of Erlang video course
- simoncion 11y agoDo you prefer videos to well-written prose with examples? If so, why?
- houshuang 11y agoVery interested. Mostly working in Elixir, but very interested in idiomatic ways of using messages, supervisors, genservers, etc etc. Haven't yet had a chance to scale beyond a single server, but would love to learn about that as well.
- nailer 11y agoI've gotten into Erlang because of Elixir. I didn't realise any other systems people cared about syntax design before. I'd love to learn anything about FP or using patterns from dist systems / telco worlds to scale web apps using Elixir / Phoenix.
- Scramblejams 11y agoAdd me to the list of willing customers.
- crimsonalucard 11y agoI think there's more interest in learning it from scratch.
- brweber2 11y agoI would also be interested. I'm less interested in the open source examples and more interested in the techniques and options that are available. Huge bonus if it takes Elixir into account.
- josep2 11y agoI'd buy it. Doing some Erlang and Elixir stuff at the moment and need as many tips as I can get.
- jules 11y agoI would not write performance sensitive code in Erlang, so no. I'd be more interested in a book about distributed programming than a book about optimization.
- davelnewton 11y agoI'm pretty sure the things where Erlang is a good fit would be the target, no? E.g., it's not going to be about doing your numerical computation--but it might be about using it to distribute it.
- jules 11y agoIsn't that what I said? That was what I tried to convey in any case.
- davelnewton 11y agoSort of, although I read it more as "I'm not interested in making Erlang performant because I wouldn't write anything that has to run fast in Erlang". But if I'm writing in Erlang I want to make it as performant as possible since it's doing something kind of important. E.g., RabbitMQ and Riak wouldn't be as cool as they are if it wasn't performant.
- simoncion 11y agoI also interpreted your post in the way that davelnewton did. I guess the thing to remember is that even the slowest systems can have both "high performance" and "low performance" ways of using them.
- jules 11y agoI guess, but in my experience optimization buys you maybe 2x if the code was written reasonably well. By using Erlang you leave 3x-30x on the table vs reasonably well written C, and it's often easier to write that C code than to optimize the heck out of code in a slower language which ends up being 3x-30x slower anyway. On the other hand Erlang is an excellent choice for distributed systems that are latency bound.
- regularfry 11y agoDefinitely. The ins-and-outs of how binaries and GC interact are particularly interesting to me.
- farresito 11y agoThis book hasn't been released yet, but it seems quite interesting and might be useful: http://www.amazon.com/Erlang-Run-Time-System-Erik-Stenman/dp/1449362125 http://www.amazon.com/Erlang-Run-Time-System-Erik-Stenman/dp...
- gnuwilliam 11y agoI'd buy it!
- ludwig 11y agoWhere is the preorder page? :)
- dizzy3gg 11y agobet365.
- wunki 11y agoWould buy it! Just picking up Erlang and loving it so far. Would love to learn more on performance as well.
- joewrong 11y ago+1 would buy.
- Scuds 11y agoThere is Erlang In Anger by Fred Hebert as a starting point http://www.erlang-in-anger.com/ http://www.erlang-in-anger.com/
- weatherlight 11y agoWould this translate well to Elixir? If so, I'd buy it!
- jake_morrison 11y agoI would buy it
- boringnoise 11y agoRobert, do you plan to find those bottlenecks and then explain how to remove them by using Erlang/OTP best practices? (i.e. approaches used by Klarna, WhatsApp, etc.).