Erlang and OTP in Action

Erlang and OTP in Action

4.5 2
by Martin Logan, Eric Merritt, Richard Carlsson
     
 

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

Overview

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.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Product Details

ISBN-13:
9781933988788
Publisher:
Manning Publications Company
Publication date:
11/28/2010
Pages:
500
Sales rank:
585,557
Product dimensions:
7.40(w) x 9.20(h) x 1.00(d)

Meet the Author

Martin Logan is a leading Erlang developer, a frequent conference presenter, and the primary developer of the Faxien OTP/Erlang package management system.Currently he works for Orbitz Worldwide, developing solutions for their large scale distributed service-based infrastructure. Richard Carlsson was an original member of the High-Performance Erlang groupat Uppsala University, and has contributed to many parts of the standard libraries, the Erlang compiler, runtime system, and the language itself. Eric Merrit specializes in concurrent languages and distributed systems. He’s a core developer for the Erlware family of open-source products.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Erlang and OTP in Action 4.5 out of 5 based on 0 ratings. 2 reviews.
Anonymous More than 1 year ago
There are three Erlang books on the market at the moment. The one by Armstrong covers a lot of ground. You certainly get excited about Erlang after browsing through it. But I don't think it's a book that you sit down to read, type in the sample code, and thereby really get to know the language. The one by Cesarini and Thompson is more systematic, which I like better than the previous one. But neither of these books explains OTP as well as "Erlang and OTP in action". The first part of "Erlang and OTP in action" goes over the language very quickly. If you had read Cesarini and Thompson, you should have no problem following these few chapters. But don't skip this "intro" part because you can learn quite a bit _even if_ you went through that book. I can't say for people who are totally new to Erlang and functional programming. YMMV. The second part covers OTP, which is the true strength of this book. I think the authors found a really good balance between pace and details. When they introduce a new concept, they don't try to "hold you hands" and therefore be too verbose. On the other hand, they stop and explain the parts you might have doubts about when necessary. After finishing this part, you'll feel comfortable with OTP, and be ready to get into the online documentations and do some serious coding with Erlang and OTP. I haven't finished part three yet. But the chapters on integrating with C and optimization sound very interesting too. I think if you are serious about Erlang and OTP, you should definitely get this book.
Rick_J_Wagner More than 1 year ago
An excellent book on Erlang, with an emphasis on writing production-worthy code. The book is divided into 3 sections, as follows: 1) Erlang and OTP basics. 2) Building a production Erlang application. 3) Integration and tuning. Section one covers basics of Erling and the OTP framework. Material is presented in a format suitable for beginners, with plenty of simple diagrams every couple of pages to illustrate key concepts. OTP in particular is covered in great detail, something intermediate-and-above users will appreciate. Section one alone would be a good Erlang book, but there is much more. Section two built upon an application-building scenario. The scenario is a web application that's suffering from poor performance, so Erlang is used to build a caching mechanism. Erlang is strong on networking, so the reader builds everything needed from the bottom up. This section adds much value, as there is a pointed difference between knowing language syntax and knowing best practices in writing an application. (This book gives you the best practices as well as the language basics.) The chapters in this part of the book usually start by describing some desired functionality, then explaining how Erlang can provide that functionality, then finally going step-by-step through implementing the change. It reads like an in-depth tutorial. Section three is about integrating your Erlang application with external entities. Integration-by-messaging is covered via JSON, while deeper integration needs are explained as Erlang's language integration mechanisms are explained. One notable point: JInterface, the Erlang-Java interface, is given a whole chapter (other Erlang books give this topic very little coverage in comparison.) I found the book well-written and very informative. This is a big book-- almost 400 pages-- and all of it is worthwhile and nicely explanatory. I would recommend this book for Erlang coders of all experience levels.