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.
发表于2024-12-22
Programming Concurrency on the JVM 2024 pdf epub mobi 电子书
书中讲到了并发编程的本质问题,说明了synchronized的低效,并推荐使用jdk1.5新api编程; 并详细介绍了STM和角色两种现代解决方案,STM类似于数据库的并发技术, 而角色则完全隔离了“共享可变性”, 这两钟技术都避免使用“低效的锁”;
评分Akka的版本已经发生了很大的变化,从akka1.3到akka2.10。基本上书中的代码都不可用了。还是看文档吧骚年:http://doc.akka.io/docs/akka/2.0.1/project/release-notes.html --------------------------知乎式的分割线-------------------------------------- 这本书的Actor部分...
评分软件通过并发访问提高性能,这是大家的共识;但是并发带来的一系列问题,也正是大家所头疼的。这本书介绍了软件实现中遇到的并发问题,和Java中应对这些问题的方法: 共享可变性:容易出问题,相比老的java同步api,java 1.5引入的并发接口更好一点,还有Lock类可以更灵活的控...
评分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 ...
评分书中讲到了并发编程的本质问题,说明了synchronized的低效,并推荐使用jdk1.5新api编程; 并详细介绍了STM和角色两种现代解决方案,STM类似于数据库的并发技术, 而角色则完全隔离了“共享可变性”, 这两钟技术都避免使用“低效的锁”;
图书标签: java 并发 jvm concurrency Java 并行 JVM 编程
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.
STM, actor model, 扩展扩展视野还不错,就是通篇都是toy example有点受不了
评分可以了解一下STM和Actor模式,但是书一直执着地用Closure和Scala,JRuby做例子,能否提升到更高的层次。在STM部分,我看到的更多的是对Closure语言封装性的介绍,dosync如何如何好,如何如何不需要费神。大哥你确定自己不是在写hibernate的使用手册吧。
评分recommended by groups of taobao.
评分可以了解一下STM和Actor模式,但是书一直执着地用Closure和Scala,JRuby做例子,能否提升到更高的层次。在STM部分,我看到的更多的是对Closure语言封装性的介绍,dosync如何如何好,如何如何不需要费神。大哥你确定自己不是在写hibernate的使用手册吧。
评分可以了解一下STM和Actor模式,但是书一直执着地用Closure和Scala,JRuby做例子,能否提升到更高的层次。在STM部分,我看到的更多的是对Closure语言封装性的介绍,dosync如何如何好,如何如何不需要费神。大哥你确定自己不是在写hibernate的使用手册吧。
Programming Concurrency on the JVM 2024 pdf epub mobi 电子书