small medium large xlarge

Programming Concurrency on the JVM: Mastering Synchronization, STM, and Actors

by

Cover image for Programming Concurrency on the JVM

Programming Concurrency on the JVM

Mastering Synchronization, STM, and Actors

by

Stop dreading concurrency hassles and start reaping the pure power of modern multicore hardware. Learn how to avoid shared mutable state and how to write safe, elegant, explicit synchronization-free programs in Java or other JVM languages including Clojure, JRuby, Groovy, or Scala.

Customer Reviews

There has been an explosion of interest and application for both new concurrency
models and new languages on the JVM. Venkat’s book ties it all together and
shows the working developer how to structure their application and get the most
out of existing libraries, even if they were built in a different language. This book
is the natural successor to Java Concurrency in Practice.

- Alex Miller

Architect/Senior Engineer, Revelytix, Inc.

Extremely thorough coverage of a critically important topic.

- Chris Richardson

Author of "POJOS in Action" and Founder: CloudFoundry.com

If the JVM is your platform of choice, then this book is an absolute must-read. Buy it, read it, and then buy a copy for all your team members. You will well be
on your way to finding a good solution to concurrency issues.

- Raju Gandhi

Senior consultant, Integrallis Software, LLC

An excellent book! Venkat skillfully leads us through the many design and implementation decisions that today’s JVM developer faces in multithreaded
programming. His easy-to-read style and the many examples he provides—using a variety of current open source tools and JVM languages—make this complex
topic very approachable.

- Albert Scherer

Manager, eCommerce Technologies, Follett Higher Education Group, Inc.

See All Reviews

Choose Your Format(s)

  • $25.00 In Stock
  • Ebooks are DRM free.

  • Ebook delivery options.

Contents & Extracts

Full Table of Contents

Preface

  • The Power and Perils of Concurrency
  • Strategies for Concurrency
    • Division of Labor excerpt
    • Design Approaches
  • Modern Java/JDK Concurrency
    • Scalability and Thread Safety
    • Taming Shared Mutability excerpt
  • Software Transactional Memory
    • Introduction to Software Transactional Memory
    • STM in Clojure, Groovy, Java, JRuby, and Scala
  • Actor-Based Concurrency
    • Favoring Isolated Mutability excerpt
    • Actors in Groovy, Java, JRuby, and Scala
  • Epilogue
    • Zen of Programming Concurrency
  • Clojure Agents
  • Web Resources
  • Bibliography

Author

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.