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

bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
pckrishnadas88
Hey everyone! :waving_hand: I’ve published Part 7 of the Building Distributed Systems in Elixir series, where we build core distributed ...
New
mudasobwa
So, instead of wasting my afternoon arguing with anonymous handles on X, I turned to my trusty, soulless assistant and said: “Listen, ple...
New
zorn
An educational side project in Elixir, Phoenix, and Tauri. I share what I learned while wiring Automerge into the BEAM, including how I s...
New
abreujp
New article: Elixir Project Structure — From mix new to a Growing Codebase I’ve published a new article in my Elixir learning series on d...
New
nathanl
Process labels are useful for visualization and debugging. Here’s why you should use them.
New
mudasobwa
Somewhere, right now, a senior engineer is on the verge of a nervous breakdown because his company will not let him switch from Claude to...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews