Download E-books Programming Concurrency on the JVM: Mastering Synchronization, STM, and Actors PDF
As the author suggests himself, the book just gives an overview of solutions available in Java and the JDK. Almost half of the book is taken by parts on Software Transactional Memory and Actors. These parts have similar structure. There is one chapter devoted for introduction and discussion of the concept, with examples in one or two of the languages on the JVM. The chapter following shows how to implement a solution in different JVM languages, often by using a library discussed previously. The author diligently highlights potential problems when using libraries across JVM languages and shows how to work around them.
I personally liked the few pages of theory before digging in to the code examples. STM is explained in the context of Clojure which has support for it built into the core language. We are shown how STM enables lock-free programming and eliminates the need for synchronization.
See a Problem?
The author discusses suitability of STM for different problems and shows with an example that it is not meant to be used in applications that have a lot of write collisions. In the part on actor-based concurrency, the author uses the Java and Scala APIs of Akka to walk us through different types of actors, ways of exchanging messages between them and coordinating them. Since the examples in Java and Scala are not that different, I think it would be better if only one language was used in the introduction chapter and the examples in the other language were in the chapter that follows.
Having examples in both slightly distracts.
- Zoological Mythology or the Legends of Animals.
- Programming Concurrency on the JVM: Mastering Synchronization, STM, and Actors on 12Books;
As it was the case for STM, the author concludes the chapter with a discussion of the limitations of the actor model. Although not my daily bread, I write some concurrent code every now and then. I reached for this book mainly to learn about STM and actors and see when and how I could benefit from these approaches to concurrency. And I was not disappointed. The author did very good job in explaining them and provided a comprehensive overview of available implementations.
Programming Concurrency on the JVM--New from Pragmatic Bookshelf [amygybokihyd.tk]
I think the book is an excellent starting point and once you choose an approach for you problem there is further reading to be done. The book provides nice coverage of options available when programming concurrent applications on the JVM, and although the implementation might not be written in the same language you are working with, they are still very viable options. In his free time he explores functional programming with Scala and plays a little bit with Android. Reviews from LJC Members.
Data Structures and the Java Collections Framework.
Programming Concurrency on the JVM--New from Pragmatic Bookshelf
This student-friendly e-book specializes in instructing scholars how you can practice the suggestions offered. Java software program recommendations teaches a starting place of programming strategies to foster well-designed object-oriented software program. Heralded for its integration of small and big practical examples, this all over the world best-selling textual content emphasizes construction good problem-solving and layout abilities to jot down top of the range courses. This is the one introductory programming textbook that makes use of the BlueJ built-in improvement setting IDE to coach introductory and object-oriented programming ideas utilizing Java.
Show sample text content. Albert Scherer supervisor, eCommerce applied sciences, Follett larger schooling team, Inc.
By professional developers for professional developers.
If the JVM is your platform of selection, then this ebook is an absolute must-read. This ebook is the average successor to Java Concurrency in perform. I clearly think that this publication is destined to be some of the most vital concurrency books but written.
Venkat has performed it back! Concurrency is a scorching subject nowadays, and Venkat takes you thru quite a lot of present suggestions and applied sciences to software concurrency successfully at the JVM. This e-book will certainly extend your wisdom and toolbox for facing concurrency.