Skip to content

Java concurrency, the parts I keep relearning

Executors, CompletableFuture and virtual threads — written down so I stop rediscovering the same three pitfalls.

, 12 min read

Executors, CompletableFuture and virtual threads — written down so I stop rediscovering the same three pitfalls.

Filed under

  • Java
  • Concurrency

Related

  1. Snippet, , 4 min read

    A Bloom filter in forty lines of Java

    The smallest useful implementation, the two parameters that matter, and how wrong the false-positive rate gets when you guess them.

    • Java
    • Data structures
  2. Snippet, , 2 min read

    Retry with jitter

    • Java
    • Resilience
  3. Article, , 6 min read

    A problem I struggled with

    Two weeks on a deadlock that turned out to be a lock-ordering mistake in code I had reviewed twice.

    • Concurrency
    • Debugging

Next

Have a system worth arguing about?

If this note raised a question, or you would have designed it differently, I would like to hear it.

Start a conversation