pckrishnadas88

pckrishnadas88

I’ve published Part 4 of my Elixir distributed systems learning series.

This part explores process linking using low-level primitives directly:

  • spawn_link/1
  • abnormal exit propagation
  • bidirectional links
  • Process.flag(:trap_exit, true)
  • {:EXIT, pid, reason} messages
  • process links vs process monitors

I’m intentionally avoiding GenServer and supervisors for now to understand how failure propagation works underneath OTP.

Building Distributed Systems in Elixir — Part 4: Process Linking

Blog: Building Distributed Systems in Elixir: Part 4 — Process Linking

GitHub: elixir-distributed-systems-lab/04-process-linking

Feedback and corrections are welcome.

Showing Posts 1 to 2

alvinkatojr

alvinkatojr

I just went through the first 4 posts, and I enjoyed your writing!

Most Elixir books skip over the reference value. Even in the docs, it’s NOT explained properly. But you did it well, and you showed how it’s used in shutdowns and terminations.

I’m now watching your repository and can’t wait for the next article in the series. Good work, kind sir, good work!

pckrishnadas88

pckrishnadas88 OP

Thank you so much! Really appreciate you taking the time to read the first four posts and leave this comment. Glad you enjoyed them, and thanks for watching the repo as well. More coming soon! :folded_hands:

— All posts loaded —

Where Next? Top

Trending in Blog Posts Top

davejs
Hi everyone, I’ve been building BetterTyping (https://bettertyping.org) on and off since 2021. It’s a free typing game: practice alone, ...
New
funboy
Turns out a 1ms network hiccup is enough to silently lose broadcasts for a node and that node is just quietly wrong forever Wrote it up ...
New
AstonJ
If you’ve found an interesting or cool Elixir related blog post and think it’s worth sharing please add it to this thread :icon_biggrin: ...
New
videsnelson
The code in this post is Erlang, but it all applies to Elixir binaries just the same: how appends, match contexts and sub-binaries behave...
New
Semurg
Semurg is a database for AI agent memory (a knowledge graph plus vectors, used over MCP) that we build in Elixir. This post walks one per...
New
charlie.foret
eMudhra’s leaked CA keys reached my Phoenix app through 2 trust stores, and my first redeploy patched neither. How I fixed the OS bundle ...
New
T0ha666
I wrote up what it took to ship logs and metrics from two small Docker Swarm clusters into PostHog with the OpenTelemetry Collector: an a...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews