The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin with a quick overview of the Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into OTP and learn how it helps you build scalable, fault-tolerant and distributed applications through several fun examples.
About the Technology
Elixir is an elegant programming language that combines the expressiveness of Ruby with the concurrency and fault-tolerance of Erlang. It makes full use of Erlang's BEAM VM and OTP library, so you get two decades' worth of maturity and reliability right out of the gate. Elixir's support for functional programming makes it perfect for modern event-driven applications.
About the Book
The Little Elixir & OTP Guidebook gets you started writing applications with Elixir and OTP. You'll begin with the immediately comfortable Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into several lighthearted examples that teach you to take advantage of the incredible functionality built into the OTP library.
- Covers Elixir 1.2 and 1.3
- Introduction to functional concurrency with actors
- Experience the awesome power of Erlang and OTP
About the Reader
Written for readers comfortable with a standard programming language like Ruby, Java, or Python. FP experience is helpful but not required.
About the Author
Benjamin Tan Wei Hao is a software engineer at Pivotal Labs, Singapore. He is also an author, a speaker, and an early adopter of Elixir.
Table of Contents
Part 1 Getting started with Elixir and OTP
Chapter 1 Introduction
Chapter 2 A whirlwind tour
Chapter 3 Processes 101
Chapter 4 Writing server applications with GenServer
Part 2 Fault tolerance, supervision, and distribution
Chapter 5 Concurrent error-handling and fault tolerance with links, monitors, and processes
Chapter 6 Fault tolerance with Supervisors
Chapter 7 Completing the worker-pool application
Chapter 8 Distribution and load balancing
Chapter 9 Distribution and fault tolerance
Chapter 10 Dialyzer and type specifications
Chapter 11 Property-based and concurrency testing