All languages

Java

You're viewing a free preview. Sign in free to read every script.

Why this exists Almost every Java service handles many requests at once, so concurrency problems show up in production as intermittent errors, wrong totals and hangs, all of which are hard to reproduce. You do not need…

Concurrency Fundamentals: Threads, Synchronisation, Concurrent Collections and CompletableFuture

Why shared mutable state breaks, and the tools that fix it: synchronized and locks, atomics, concurrent collections, an executor shut down properly, a classic deadlock and how to avoid it, and composing asynchronous work with CompletableFuture including timeouts.

Sign in free to read this script, along with the rest of the library.

Sign in free