Establishing Our Boundaries

Get to know about the boundary layer.

Boundary layer

The boundary layer deals with side effects and state. This layer is where we’ll deal with processes and where we’ll present our API to the outside world. In Elixir, that means OTP. To be more precise, the boundary layer provides the following functionality:

  • The machinery of processes, message passing, and recursion, which form the heart of concurrency in Elixir systems.

  • An API of simple functions that hide that machinery from clients.

Get hands-on with 1400+ tech skills courses.