Programming Concurrency on the JVM

Programming Concurrency on the JVM pdf epub mobi txt 电子书 下载 2025

出版者:The Pragmatic Bookshelf
作者:[美] Venkat Subramaniam
出品人:
页数:280
译者:
出版时间:2011-6-1
价格:USD 35.00
装帧:Paperback
isbn号码:9781934356760
丛书系列:
图书标签:
  • java
  • 并发
  • jvm
  • concurrency
  • Java
  • 并行
  • JVM
  • 编程
  • Java
  • Concurrency
  • Multithreading
  • JVM
  • Parallelism
  • Asynchronous
  • Threads
  • Locks
  • Actors
  • Reactive Programming
想要找书就要到 小美书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

具体描述

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.

作者简介

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 ...

评分

Akka的版本已经发生了很大的变化,从akka1.3到akka2.10。基本上书中的代码都不可用了。还是看文档吧骚年:http://doc.akka.io/docs/akka/2.0.1/project/release-notes.html --------------------------知乎式的分割线-------------------------------------- 这本书的Actor部分...  

评分

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类似于数据库的并发技术, 而角色则完全隔离了“共享可变性”, 这两钟技术都避免使用“低效的锁”;  

用户评价

评分

以后有时间再读第2遍吧。例子仍然比较基础。

评分

介绍了 JVM 语言中并发的模式与利弊,这对开拓眼界是非常有用的,书中给出的算文件夹大小的例子也不错,由浅入深,逐步完善。

评分

作者提出了3个并发模型,shared mutability, isolated mutability, immutability,shared就是我们java里边经常使用的,对于这个模型,可以通过STM提高其并发度,但是STM也有其劣势,比如说在大量的修改面前,会疯狂的消耗cpu,isolated mutability比较好,就是actor模型,但是对于消息通信的actor需要注意粒度的问题,actor必须是粗粒度的,如果是细粒度的话,会导致大量的消息传递,以及上下文切换,导致performance的下降。最后的web resources和参考书目是非常好的阅读知道,可以看一些其他方面的知识来提高对并发的理解和设计。一句话monitor的单核时代已经过去了,拥抱多核时代,拥抱不变试。

评分

recommended by groups of taobao.

评分

STM, actor model, 扩展扩展视野还不错,就是通篇都是toy example有点受不了

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有