Author: Benjamin Tan Wei Hao
Pub Date: 2016
Size: 10 Mb
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.
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.
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
Written for readers comfortable with a standard programming language like Ruby, Java, or Python. FP experience is helpful but not required.
Table of Contents
Part 1 Getting started with Elixir and OTP
2 A whirlwind tour
3 Processes 101
4 Writing server applications with GenServer
Part 2 Fault tolerance, supervision, and distribution
5 Concurrent error-handling and fault tolerance with links, monitors, and processes
6 Fault tolerance with Supervisors
7 Completing the worker-pool application
8 Distribution and load balancing
9 Distribution and fault tolerance
10 Dialyzer and type specifications
11 Property-based and concurrency testing