~/talk

Concurrency in Spring Boot Applications: Making the Right Choice

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
links:none on file
slides:none on file

Compares plain executors/Future and CompletableFuture composition, explains that Spring Boot’s @Async catches exceptions and simplifies fire‑and‑forget, outlines reactive WebFlux for nonblocking streams and backpressure, and promotes virtual threads in Java 21 for massively concurrent blocking IO (claims millions of v‑threads per machine). Warns specific pitfalls: native calls, synchronized blocks, Jackson thread‑locals, DB pool deadlocks, and upstream overload. Recommends reactive for complex stream joins, v‑threads for IO workloads, structured concurrency for interdependent subtasks, and iterative rollout with stress testing.

AI-written summary · about

  1. 0:00Introduction to concurrency
  2. 1:33Concurrency use cases
  3. 6:02Java and Spring options
  4. 13:05Reactive programming
  5. 19:18Virtual threads
  6. 30:29Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.