jswny

jswny

Anyone have any recommendations for books that focus on the distributed side of Elixir?

Does anyone have any recommendations for books that focus on the distributed side of elixir?

I am fairly comfortable with the language along with most of the standard library as well as OTP primitives, etc, but I’m looking to get more familiar with designing distributed applications.

Ideally I would prefer books that are not written in/for erlang but I understand there will probably be good references that are in that category as well.

Most Liked

Lucassifoni

Lucassifoni

+1 for “Programming Erlang” and “Designing for scalability with Erlang/OTP”.
Those two books opened my mind to a lot of ideas and were very influential for me recently.
Don’t fear the Erlang side, the concepts (of course) map very well to Elixir and you’ll get a very solid (or a better) understanding of OTP behaviours.

For the distributed side and scalability, I guess the main takeaway is “it depends”. On your scale, requirements, tradeoffs, team… The book is very nuanced.

A little personal example : after reading “Designing for scalability with Erlang/OTP” I changed my SLA to 99.5% for my SAAS and added two “maintenance windows” in my contracts that allow me to perform planned downtime. That looks like an outdated practice and very low availability today.
In practice systems stroll around 5 nines and I don’t use those windows. It’s easy at my scale. But availability has first to do with human expectations and human availability. If there’s a global DNS or worse outage while I’m driving someone to the hospital, there’ll be downtime. Without people on call or 24/7 shifts I can’t promise more, whatever tech and distribution strategies I’d be using.

That’s the kind of very immediate practical takeaway I got from those books :slight_smile: .

arcanemachine

arcanemachine

Elixir in Action has a chapter on distribution, and Engineering Elixir Applications has a chapter on deploying distributed applications. The Little Elixir and OTP Guidebook also has a couple chapters on the subject.

LostKobrakai

LostKobrakai

Distribution is a VM feature first and foremost. You‘ll be using the exact same primitives across the whole ecosystem no matter the language used. Only higher level libraries will then start to make a difference.

slouchpie

slouchpie

I would recommend “Programming Erlang” by Joe Armstrong. It has a lot of good info and it can all be used in Elixir. When I read it, I did not understand a lot of it. I intend to re-read it this year.

I remember a chapter about libs like :rpc and :global and I also remember the clear info about how distributed Erlang was designed to be run on a LAN (as opposed to on the general internet). There was stuff about cookie sessions and encryption that I can not remember any more.

I recommend this book because it contained more knowledge than I could absorb about distributed Erlang.

code-shoily

code-shoily

If I recall correctly, we ran on PE too, I remember being part of it and talking to you a about it. Unless I am confusing it with some other books :man_shrugging:

Where Next?

Popular in Chat/Questions Top

Fl4m3Ph03n1x
Background I have been reading quite a lot about design and architecture in Elixir and overall FP. My latest incursions took to me the On...
New
Nopp
Hey guys and girls, i am completely “new” to programming, recently played a bit with Python, Ruby and PureBasic, but i want to try somet...
New
meraj_enigma
Hey, What’s a good resource to learn Microservices in Elixir/Phoenix? Is there any book/docs/Github repos that I can refer to? Thanks, -M
New
Chawki
Hi,i’m new to elixir. i’m searching elixir small programs to try it out my self,Is any good resources out there? Thank you.
New
Lincxx
Hello, I’m sure this has been asked a bunch, but where to start. I do prefer vodeos over books, but recently I have found books to be mor...
New
Scoty
Hey, I am currently reading Programming Elixir and I am doing one of the exercises where you should write a solution to the “I’m thinkin...
New
New
Fl4m3Ph03n1x
Background I am trying to recycle myself and improve my knowledge about Phoenix. With 1.7 now out, this seems like a good opportunity. W...
New
jslearner
Will learning Erlang really help in being a better Phoenix or Elixir developer or is it a waste of time?
New
Twfo326
As a novice dev I’m trying to keep the curriculum as lean as possible. My requirements are modest: build simple CRUD apps with Phoenix...
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New

We're in Beta

About us Mission Statement