Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

ELIXIR IN ACTION
Título:
ELIXIR IN ACTION
Subtítulo:
Autor:
JURI, S
Editorial:
MANNING PUBLISHERS
Año de edición:
2015
Materia
JAVA
ISBN:
978-1-61729-201-9
Páginas:
376
40,95 €

 

Sinopsis

SUMMARY
Elixir in Action teaches you to apply the new Elixir programming language to practical problems associated with scalability, concurrency, fault tolerance, and high availability.

ABOUT THE TECHNOLOGY
Elixir is a modern programming language that takes advantage of BEAM, the Erlang virtual machine, without the burden of Erlang´s complex syntax and conventions. Elixir gives you Ruby-like elegance with the power to develop bulletproof distributed server systems that can handle massive numbers of simultaneous clients and run with almost no downtime.

ABOUT THE BOOK
Elixir in Action teaches you how to solve practical problems of scalability, concurrency, fault tolerance, and high availability using Elixir. You´ll start with the language, learning basic constructs and building blocks. Then, you´ll learn to think about problems using Elixir´s functional programming mindset. With that solid foundation, you´ll confidently explore Elixir´s seamless integration with BEAM and Erlang´s powerful OTP framework of battle-tested abstractions you can use immediately. Finally, the book provides guidance on how to distribute a system over multiple machines and control it in production.

Requires no previous experience with Elixir, Erlang, or the OTP. Written for readers who are familiar with another programming language like Ruby, JavaScript, or C#.

WHAT´S INSIDE
Practical introduction to the Elixir language
Functional programming idioms
Mastering the OTP framework
Creating deployable releases
ABOUT THE AUTHOR
Sasa Juric is a developer with extensive experience using Elixir and Erlang in high-volume, concurrent server-side systems.



preface
acknowledgments
about this book
about the cover illustration
Part 1The language

Chapter 1 First steps
About Erlang
About Elixir
Disadvantages
Summary
Chapter 2 Building blocks
The interactive shell
Working with variables
Organizing your code
Understanding the type system
Operators
Macros
Understanding the runtime
Summary
Chapter 3 Control flow
Pattern matching
Matching with functions
Conditionals
Loops and iterations
Summary
Chapter 4 Data abstractions
Abstracting with modules
Working with hierarchical data
Polymorphism with protocols
Summary
Part 2The platform

Chapter 5 Concurrency primitives
Principles
Working with processes
Stateful server processes
Runtime considerations
Summary
Chapter 6 Generic server processes
Building a generic server process
Using gen_server
Summary
Chapter 7 Building a concurrent system
Working with the mix project
Managing multiple to-do lists
Persisting data
Reasoning with processes
Summary
Chapter 8 Fault-tolerance basics
Runtime errors
Errors in concurrent systems
Supervisors
Summary
Chapter 9 Isolating error effects
Supervision trees
Starting workers dynamically
"Let it crashö
Summary
Chapter 10 Sharing state
Single-process bottleneck
ETS tables
Summary
Part 3 Production

Chapter 11 Working with components
OTP applications
Working with dependencies
Building a web server
Managing the application environment
Summary
Chapter 12 Building a distributed system
Building a distibuted system
Distribution primitives
Building a fault-tolerant cluster
Network considerations
Summary
Chapter 13 Running the system
Running a system with the mix tool
OTP releases
Analyzing system behavior
Summary

index