Table of Contents
Preface |
Who’s This Book For? |
What’s in This Book? |
Is it Concurrency or Parallelism? |
Concurrency for Polyglot Programmers |
Examples and Performance Measurements |
Acknowledgments |
1. | The Power and Perils of Concurrency |
Threads: The Flow of Execution |
The Power of Concurrency |
The Perils of Concurrency |
Recap |
2. | Division of Labor |
From Sequential to Concurrent |
Concurrency in IO-Intensive Apps |
Speedup for the IO-Intensive App |
Concurrency in Computationally Intensive Apps |
Speedup for the Computationally Intensive App |
Strategies for Effective Concurrency |
Recap |
3. | Design Approaches |
Dealing with State |
Exploring Design Options |
Shared Mutable Design |
Isolated Mutable Design |
Purely Immutable Design |
Persistent/Immutable Data Structures |
Selecting ... |
Get Programming Concurrency on the JVM now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.