Designing Elixir Systems with OTP (PragProg)

You know how to code in Elixir; now learn to think in it. Design libraries with intelligent layers that shape the right data structures, flow from one function into the next, and present the right APIs.

James Edward Gray, II and Bruce A. Tate @redrapids

edited by Jacquelyn Carter @jkcarter

You know how to code in Elixir; now learn to think in it. Design libraries with intelligent layers that shape the right data structures, flow from one function into the next, and present the right APIs. Embrace the same OTP that’s kept our telephone systems reliable and fast for over 30 years. Move beyond understanding the OTP functions to knowing what’s happening under the hood and why that matters.

Go beyond simple programming to designing by building the right layers. Embrace those data structures that work best in functional programs and use them to build functions that perform and compose well, layer by layer, across processes. Test your code at the right place using the right techniques. Layer your code into pieces that are easy to understand and heal themselves when errors strike.

The experts design programs to benefit from the architecture they run on, and you can do the same.


“This book has a pragmatic approach that (correctly) prioritizes what you need to do over what the frameworks do.”"

– Dave Thomas, Author of Programming Elixir 1.6


  • Full details: Search
  • View this book’s portal and details on how to post errata and suggestions here.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

2 Likes