
Desertcart purchases this item on your behalf and handles shipping, customs, and support to Vanuatu.
Learn the art of building intricate, modern, scalable concurrent applications using Scala About This Book Design and implement scalable and easy-to-understand concurrent applications Make the most of Scala by understanding its philosophy and harnessing the power of multicores Get acquainted with cutting-edge technologies in the field of concurrency, with a particular emphasis on practical, real-world applications Step-by-step tutorial guide, which is full of pragmatic examples Who This Book Is For This book is a must-have tutorial for software developers aiming to write concurrent programs in Scala, or broaden their existing knowledge of concurrency. This book is intended for Scala programmers that have no prior knowledge about concurrent programming, as well as those seeking to broaden their existing knowledge about concurrency. Basic knowledge of the Scala programming language will be helpful. Readers with a solid knowledge in another programming language, such as Java, should find this book easily accessible. What You Will Learn Get to grips with the fundamentals of concurrent programming on modern multiprocessor systems, with a particular focus on the JVM concurrency model Build high-performance concurrent systems from simple, low-level concurrency primitives Express asynchrony in concurrent computations with futures and promises Seamlessly accelerate sequential programs by using data-parallel collections Implement reactive and event-based programs declaratively with Rx-style event streams Design safe, scalable, and easy-to-comprehend in-memory transactional data models Transparently create distributed applications that scale across multiple machines Choose the correct concurrency abstraction and integrate different concurrency frameworks together in large applications In Detail This book will give you an insight into the best practices necessary to build concurrent programs in Scala using modern, high-level concurrency libraries. It starts by introducing you to the foundations of concurrent programming on the JVM, outlining the basics of the Java Memory Model, and then shows some of the classic building blocks of concurrency, such as the atomic variables, thread pools, and concurrent data structures, along with the caveats of traditional concurrency. It then walks you through different high-level concurrency abstractions, each tailored toward a specific class of programming tasks. Finally, the book presents an overview of when to use which concurrency library and demonstrates how they all work together. Review: Perfect if doing the Reactive Programming course on Coursera - I bought this when taking the Reactive Programming course on Coursera. This book turned out to be, in effect, the missing textbook for the course. It covers pretty much the same topics as the course, include RxScala, Futures, Akka Actors, and more. It does not replace online API documents, but does cover all the concepts deeply enough that you will be able to them using the API documents to fill in missing details. Review: Required reading for all Scala coders - With a picture of trains on the cover and covering the subject of concurrent programming on the JVM this book sets itself up for comparison to the classic โJava Concurrency in Practiceโ book. This book is divided into two halves, with rough equal number of pages. What we get from within Scala and add-on libraries and frameworks (or toolkits as some like to be called) The first 6 chapters of the books starts by going back to the very basics of JVM with synchronized and volatile that, for somebody who has not done any Java for a year or two, was a bit of an initial shock and surprise that I had forgotten you could actually do this or even worse needed to know this. Each chapter is presented by somebody who obviously knows what they are talking about, with examples of how to create a concurrency issue as well as how to avoid them. Though I havenโt done all the exercises they are interesting and you do learn something. The second half of the book moves on to more high-level packages/frameworks covering Reactive programming (using Rx), STM (Software Transactional Memory) and Actors (Akka). These are independent chapters and can be skipped if required but do give a good overview of what each one does and how they could be used. The more interesting to me is STM as there is much less information on this than they other two where there is books and website dedicated to them. Overall, this is one of those books that after the initial read will make you think that none of your should had ever worked correctly and hopefully want to write better code in the future. What shows is good knowledge of the Scala concurrency system by the author who takes us from the very basics of how the JVM works to some of the higher abstractions of Futures and Promises and beyond. Well worth reading and keeping around for all those days of multi-threaded coding.
| Best Sellers Rank | 2,515 in General Introduction to Programming 5,120 in Programming Languages & Tools |
| Customer Reviews | 4.6 out of 5 stars 14 Reviews |
A**R
Perfect if doing the Reactive Programming course on Coursera
I bought this when taking the Reactive Programming course on Coursera. This book turned out to be, in effect, the missing textbook for the course. It covers pretty much the same topics as the course, include RxScala, Futures, Akka Actors, and more. It does not replace online API documents, but does cover all the concepts deeply enough that you will be able to them using the API documents to fill in missing details.
A**S
Required reading for all Scala coders
With a picture of trains on the cover and covering the subject of concurrent programming on the JVM this book sets itself up for comparison to the classic โJava Concurrency in Practiceโ book. This book is divided into two halves, with rough equal number of pages. What we get from within Scala and add-on libraries and frameworks (or toolkits as some like to be called) The first 6 chapters of the books starts by going back to the very basics of JVM with synchronized and volatile that, for somebody who has not done any Java for a year or two, was a bit of an initial shock and surprise that I had forgotten you could actually do this or even worse needed to know this. Each chapter is presented by somebody who obviously knows what they are talking about, with examples of how to create a concurrency issue as well as how to avoid them. Though I havenโt done all the exercises they are interesting and you do learn something. The second half of the book moves on to more high-level packages/frameworks covering Reactive programming (using Rx), STM (Software Transactional Memory) and Actors (Akka). These are independent chapters and can be skipped if required but do give a good overview of what each one does and how they could be used. The more interesting to me is STM as there is much less information on this than they other two where there is books and website dedicated to them. Overall, this is one of those books that after the initial read will make you think that none of your should had ever worked correctly and hopefully want to write better code in the future. What shows is good knowledge of the Scala concurrency system by the author who takes us from the very basics of how the JVM works to some of the higher abstractions of Futures and Promises and beyond. Well worth reading and keeping around for all those days of multi-threaded coding.
S**I
excellent book
there appears to be a typo while describing ABA problem in chapter 3. the final CAS should be from T2 thread and T1. It caused me some trouble while trying to understand what's going on. so wanted to call it out
T**H
Read this book if you want to understand Scala concurrency frameworks backed by short pragmatic examples.
Very good, in-depth study of JVM concurrency intrinsics followed by Scala concurrency frameworks. In addition to the well-written study, each topic includes short, pragmatic, runnable example idioms demonstrating the current topic. The book concludes with a more comprehensive example comprising key concurrency libraries previously covered in book. Very well done! Highly recommended.
P**O
Great content. Even for my jruby applications. Terrible binding.
A lot of useful knowledge and it would deserve a 5 star rating. But for a $40 book, the biding could last more than one day. I'm always skeptical of buying PACKT books because I think they rush to capitalize on the latest trends at the cost of editorial review. This one is an exception. The biding is very poor. I received the book today and after reading 2/3s the pages are already falling apart. I would not mind as much if it was a cheap book. On the content side, I have a lot of applications made with jruby that use actors (celluloid) and some with just regular threads. I learned enough to improve even them. I strongly recommend the book. I also bought the Kindle version. It might be something personal, but I cannot read computer books on the ipad or kindle. I still order so I can refer on the go, if needed.
A**R
Good Book
Lots of things to learn in this book. Practice questions are also available.
P**Z
Good book
This product has helped with understanding concurrent programming in Scala
Trustpilot
1 month ago
1 month ago