Download Elixir in Action by Saša Jurić PDF

By Saša Jurić

Elixir in motion teaches you to use the recent Elixir programming language to sensible difficulties linked to scalability, concurrency, fault tolerance, and excessive availability.

Show description

Read Online or Download Elixir in Action PDF

Best programming books

How to Do Everything with HTML

One other free up in our well known the way to Do every little thing sequence, this pleasant, solutions-oriented e-book is full of step by step examples for writing HTML code. every one bankruptcy starts off with the categorical how-to themes that would be lined. in the chapters, each one subject is followed by way of a superior, easy-to-follow walkthrough of the method.

ZooKeeper: Distributed process coordination

Building dispensed purposes is hard adequate with no need to coordinate the activities that cause them to paintings. This sensible consultant indicates how Apache ZooKeeper is helping you deal with dispensed platforms, so that you can concentration often on software common sense. in spite of ZooKeeper, enforcing coordination projects isn't trivial, yet this e-book offers solid practices to provide you a head begin, and issues out caveats that builders and directors alike have to stay up for alongside the way.

In 3 separate sections, ZooKeeper members Flavio Junqueira and Benjamin Reed introduce the rules of allotted structures, supply ZooKeeper programming innovations, and contain the data you want to administer this service.
• learn the way ZooKeeper solves universal coordination projects
• discover the ZooKeeper API’s Java and C implementations and the way they vary
• Use easy methods to tune and react to ZooKeeper nation adjustments
• deal with disasters of the community, program methods, and ZooKeeper itself
• know about ZooKeeper’s trickier elements facing concurrency, ordering, and configuration
• Use the Curator high-level interface for connection administration
• familiarize yourself with ZooKeeper internals and management instruments

iOS 9 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics

Circulation into iOS improvement by means of getting an organization snatch of its basics, together with the Xcode IDE, the Cocoa contact framework, and fast 2. 0—the most up-to-date model of Apple's acclaimed programming language. With this completely up to date consultant, you'll examine Swift’s object-oriented techniques, know how to exploit Apple's improvement instruments, and detect how Cocoa presents the underlying performance iOS apps must have.

Microsoft Windows 2000 and IIS 5.0 administrator's pocket consultant

This e-book is great while you are working a server with home windows 2000 and IIS. for those who run into difficulties or have questions while environment issues up or preserving them it's a fast reference for solutions.

Additional info for Elixir in Action

Example text

Source code written in Erlang is compiled into byte code that is then executed in the BEAM. This is where the true magic happens. The virtual machine parallelizes your concurrent Erlang programs and takes care of process isolation, distribution, and overall responsiveness of the system. The standard part of the release is a framework called Open Telecom Platform (OTP). Despite its somewhat unfortunate name, the framework has nothing to do with telecom systems. com> 10 CHAPTER 1 First steps  Concurrency and distribution patterns  Error detection and recovery in concurrent systems  Packaging code into libraries  Systems deployment  Live code updates All these things can be done without OTP, but that makes no sense.

Com 26 CHAPTER 2 Building blocks If a function resides in the same module, you can omit the module prefix: defmodule Geometry do def rectangle_area(a, b) do a * b end Call to a function in the same module def square_area(a) do rectangle_area(a, a) end end Given that Elixir is a functional language, you often need to combine functions, passing the result of one function as the argument to the next one. to_string(abs(-5))) 5 More generally, the pipeline operator places the result of the previous call as the first argument of the next call.

Character. Rectangle do ... Circle do ... com> 24 CHAPTER 2 Building blocks The dot character is a convenience. Once the code is compiled, there are no special hierarchical relations between modules, nor are there services to query the hierarchy. It’s just syntactical sugar that can help you scope your names. You can also nest modules: defmodule Geometry do defmodule Rectangle do ... end ... Rectangle. Again, this nesting is a convenience. Rectangle. 2 Functions A function must always be a part of a module.

Download PDF sample

Rated 4.67 of 5 – based on 42 votes