Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an adjunct faculty at the University of Houston. He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences.
Concurrency on the Java platform has evolved, from the synchronization model of JDK to software transactional memory (STM) and actor-based concurrency. This book is the first to show you all these concurrency styles so you can compare and choose what works best for your applications. You’ll learn the benefits of each of these models, when and how to use them, and what their limitations are.
Through hands-on exercises, you’ll learn how to avoid shared mutable state and how to write good, elegant, explicit synchronization-free programs so you can create easy and safe concurrent applications. The techniques you learn in this book will take you from dreading concurrency to mastering and enjoying it. Best of all, you can work with Java or a JVM language of your choice – Clojure, JRuby, Groovy, or Scala – to reap the growing power of multicore hardware.
If you are a Java programmer, you’d need JDK 1.5 or later and the Akka 1.0 library. In addition, if you program in Scala, Clojure, Groovy or JRuby you’d need the latest version of your preferred language. Groovy programmers will also need GPars.
發表於2024-05-20
Programming Concurrency on the JVM 2024 pdf epub mobi 電子書 下載
有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故...
評分Akka的版本已經發生瞭很大的變化,從akka1.3到akka2.10。基本上書中的代碼都不可用瞭。還是看文檔吧騷年:http://doc.akka.io/docs/akka/2.0.1/project/release-notes.html --------------------------知乎式的分割綫-------------------------------------- 這本書的Actor部分...
評分有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故...
評分Akka的版本已經發生瞭很大的變化,從akka1.3到akka2.10。基本上書中的代碼都不可用瞭。還是看文檔吧騷年:http://doc.akka.io/docs/akka/2.0.1/project/release-notes.html --------------------------知乎式的分割綫-------------------------------------- 這本書的Actor部分...
評分有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故而知新下有時間再重新溫故...
圖書標籤: java 並發 jvm concurrency Java 並行 JVM 編程
好書,推薦國內齣版商引進。
評分concurrency practice on the jvm (Clojure, Java, JRuby, Scala)
評分作者提齣瞭3個並發模型,shared mutability, isolated mutability, immutability,shared就是我們java裏邊經常使用的,對於這個模型,可以通過STM提高其並發度,但是STM也有其劣勢,比如說在大量的修改麵前,會瘋狂的消耗cpu,isolated mutability比較好,就是actor模型,但是對於消息通信的actor需要注意粒度的問題,actor必須是粗粒度的,如果是細粒度的話,會導緻大量的消息傳遞,以及上下文切換,導緻performance的下降。最後的web resources和參考書目是非常好的閱讀知道,可以看一些其他方麵的知識來提高對並發的理解和設計。一句話monitor的單核時代已經過去瞭,擁抱多核時代,擁抱不變試。
評分可以瞭解一下STM和Actor模式,但是書一直執著地用Closure和Scala,JRuby做例子,能否提升到更高的層次。在STM部分,我看到的更多的是對Closure語言封裝性的介紹,dosync如何如何好,如何如何不需要費神。大哥你確定自己不是在寫hibernate的使用手冊吧。
評分看瞭一點,不怎麼喜歡就放一邊瞭
Programming Concurrency on the JVM 2024 pdf epub mobi 電子書 下載