Home - Java

Click for larger image Erlang and OTP in Action

Erlang and OTP in Action

Price: $37.60 $49.99

& 2-Day * Free Nationwide Shipping! (* details)

Availability: Usually ship in 24 hours if sold by Amazon.com

Buy from amazon.com

Tags:

Product Details

Binding:

Paperback

EAN:

9781933988788

Label:

Manning Publications

Feature:

ISBN13: 9781933988788

Condition: New

Notes: BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!

Publisher:

Manning Publications

Studio:

Manning Publications

Editorial Reviews

Concurrent programming has become a required discipline for all programmers. Multi-core processors and the increasing demand for maximum performance and scalability in mission-critical applications have renewed interest in functional languages like Erlang that are designed to handle concurrent programming. Erlang, and the OTP platform, make it possible to deliver more robust applications that satisfy rigorous uptime and performance requirements.

Erlang and OTP in Action teaches you to apply Erlang's message passing model for concurrent programming--a completely different way of tackling the problem of parallel programming from the more common multi-threaded approach. This book walks you through the practical considerations and steps of building systems in Erlang and integrating them with real-world C/C++, Java, and .NET applications. Unlike other books on the market, Erlang and OTP in Action offers a comprehensive view of how concurrency relates to SOA and web technologies.

This hands-on guide is perfect for readers just learning Erlang or for those who want to apply their theoretical knowledge of this powerful language. You'll delve into the Erlang language and OTP runtime by building several progressively more interesting real-world distributed applications. Once you are competent in the fundamentals of Erlang, the book takes you on a deep dive into the process of designing complex software systems in Erlang.

Customer Reviews


"Erlang and OTP in Action" is not a repeat of the existing introductory books on the Erlang language, although there is a brief introduction to the language in Chapter 2. This book continues where other books leave off. If you are just learning Erlang, this book is probably not the best place to start, however it is an excellent reference for more advanced topics.

"Erlang and OTP In Action" is divided into 3 major sections. Each chapter builds on the examples and concepts from the previous chapters working towards getting your server live and robust.

I. Getting Past Pure Erlang: The OTP Basics

This section helps to clarify the distinction between Erlang and OTP. There is only brief coverage of the Erlang language and syntax, as there are other resources which cover this in much greater depth. The reader is exposed to some of the many modules and functions which make up OTP.

Early in the book you are shown how to write a RPC server as well as some basics on writing unit tests for that server. While this is advanced material, the flow and delivery are easy enough to understand to someone with minimal exposure to Erlang. Process supervision, caching, distributed Erlang, and Packaging are also covered in a similar manner of clarity.

II. Building a Production System

The second section starts off by creating a local cache for a web server in order to remedy a website which has become sluggish as the system grew. This is a real-life problem and solution, not a contrived example which are present in so many other books.

The remainder of this section goes into distributed Erlang which is quite an exciting topic. Erlang takes the pain out of communicating between multiple computers (aka nodes), and there are examples show you how to quickly establish communications between many nodes. It's easy and fun with Erlang.

The previously-created caching scheme will also be part of the distributed system and is implemented using a distributed database called Mnesia.

III. Integrating and Refining

The final section shows how to interface programs written in other languages to Erlang using the foreign function interface, ports and Natively Implemented functions (NIFs).

The final chapter shows you how to profile and tune your program for optimal performance. Fortunately, Erlang comes with two tools for profiling, cprof and fprof which make it easier.

The book identifies which parts of a program to profile and show several examples using each of the profiling tools.

Conclusion

"Erlang and OTP in Action" is written very well and conveys the information clearly. The book takes the user all the way from development to deploying production-ready software. This book will be a big boost to in promoting awareness of Erlang/OTP. I recommend this book to everyone who is interested in learning how to implement distributed systems using concurrent and fault-tolerant process handling and recovery.
This book is your next step to understanding Erlang/OTP.

Once you have a basic understanding of the Erlang Language (see Joe Armstrong's book), this is your next step. Erlang as a language consists of the language proper and then a development environment called OTP. Martin, Eric, and Richard have done a great job bringing information about OTP to the developer who understands Erlang but needs to build his/her first production environment.

Martin, Eric, and Richard's treatment of each part of OTP & Erlang is well written and easily understandable. They explain in an easily understood format how to build both applications and releases. While not forgetting all the edge features that are needed to go into production.

Great job!

Barry
When you've finished Joe's book, you'll know the syntax of Erlang, some interesting details and you'll know if the language is for you. Erlang and OTP in action takes you much further into Erlang the platform.

Great coverage of supervision hierarchies and Erlang's 'let it crash' philosophy for extreme reliability, and OTP behaviours (gen_server etc).

The case study that is built up throughout the book is interesting and a good fit to the key advantages of Erlang. The book also covers integration with Java through JInterface which some developers may find useful, although personally I'd rather just code in Erlang!

Buried in the appendicies is a small discussion on testing (eunit), and packaging and distribution (sinan and faxien).

Overall this book is the next logical step from Joe's book detailing the language.
Programming Erlang: Software for a Concurrent World by Joe Armstrong and Erlang Programming by Francesco Cesarini et.al. open the door into Erlang programming and provide a sound foundation.

But Erlang and OTP in Action by Martin Logan, Eric Merrit, and Richard Carlsson goes far beyond. Read it, study it, and work through the examples and you will harness the full power of Erlang and the OTP libraries, achieve solid professional fluency.

This book is an unqualified MUST if you plan to add Erlang to your skill set.
I stumbled into Erlang after evaluating several other high performance languages which were found wanting. Erlang is very impressive and OTP is powerful & useful. The downside is that OTP (as opposed to Erlang) is poorly documented to the point of being unviable for a new user. This book changes that. It's clearly written and easily understandable without unnecessary waffle. The examples are realistic projects that could form the basis of a proper system. I've waded through over half the chapters as of this review and I've managed to keep up surprisingly well due to the clear explanations and nicely structured chapters.

No-one will claim OTP is easy but this book will pull you a goodway up the learning curve. If you aspire to learn OTP you cannot sensibly resist buying this book.
I started learning Erlang withiout this book and it was a painful experience.

This book turned my previous bad experience into a big wow! All the questions I had on Erlang and OTP are covered, nicely explained and well written.
If you ever are in doubt where to look for a specific Erlang and OTP question; look no further, the answers are here.

Would I recommend it? Hands down, yes! Go get your own copy, it's absolutely worth every penny you spend on it.

--Kai
A very practical approach to learning Erlang and OTP. Gently introduces functional programming and concurrency concepts. It's an excellent position, especially for programmers who've never done anything more than OOP and imperative programming before:)
You may wonder why you would need this book if two other Erlang books have been published. I thought the same but this book takes a different approach in the way Erlang is presented with more emphasis on OTP and application design. Learning how to properly design an Erlang application isn't easy and this book does a great job preparing you to start using Erlang effectively.
Review of The MANNING Publishing Company text `Erlang and OTP in Action'
Paul Barr PhD., PE

The year is 2011; it's time to revisit how we approach the next generation of programming. We have two alternatives:
1. Imperative Programming - From the 1960s onwards, structured programming and modular programming have been promoted as techniques to improve the maintainability and overall quality of imperative programs. Object-oriented programming extends this approach.
2. Functional Programming - In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data.

The MANNING Publishing Company text `Erlang and OTP in Action' by Martin Logan, Eric Merritt and Richard Carlson has introduced the review my knowledge of over five decades of experience in programming.

The review of this text was initiated by my study of the Joe Armstrong's thesis `Making Reliable Distributed Systems in the Presence of Software Errors'. He showed me `how' but not `why'.

The text `Erlang and OTP in Action' provided the `how', the `why' and the knowledge I needed to subjugate my understanding of functional languages. In a pure functional language, all functions are without side effects, and state changes are only represented as functions that transform the state.This led me to rethink the subject and its use in the software architecture development.


Background of Paul Barr
Dr. Barr represents over five decades of design and academic experience in the fields of Computer Architecture, Computer Networking, Radar Signal Processing, Systems Programming, Operating Systems and Modeling and Simulation. Paul recently retired from the MITRE Corporation after 24 years. He currently provides consultations and individual contributions in several key software areas. Concurrent with his design experience, Dr. Barr has lectured in the graduate school of New England Universities (Boston University, MIT, and Northeastern University) in the field of Computer Architecture and Operating Systems.




 
Share your thoughts with other customers
Create your own review