Search⌘ K
AI Features

Building Our Optional Server

Explore how to build an optional server by isolating process machinery in Elixir. Understand when to use processes for sharing state, managing side effects, and isolating failures. Learn to design boundaries with GenServer to create robust and maintainable OTP applications.

Understanding processes

One of the trickiest parts of learning a concurrency-based language like Elixir is understanding when to use processes at all.

Here’s a little guidance. Consider processes when these use cases show up:

  • Sharing state across ...