~/talk

Concurrency Redefined

Talkat Devnexus 2025 · 2025-03-04..03-06· [java, concurrency]
links:none on file
links:none on file
slides:none on file

Jakarta Concurrency 3.1 adds concrete features: programmatic resource definitions with qualifiers and injectable defaults, new context-service APIs for reactive publishers/subscribers, and virtual=true managed executor to request virtual threads on Java 21+. The live demo uses OpenLiberty and shows 100,000 virtual threads sleeping for 1s completing in about 3s, and a MongoDB contextual flow using a contextual subscriber plus recurring work via @Schedule asynchronous methods that start concurrently and can be canceled by their Future.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:25What's new in Concurrency 3.1
  3. 2:06Resource definitions with qualifiers
  4. 3:56Injecting default resources
  5. 4:38Context service methods
  6. 6:31Virtual threads overview
  7. 8:41Virtual threads background
  8. 10:08Thread-per-request model
  9. 11:11Virtual threads API changes
  10. 12:37Virtual thread management
  11. 13:44Benefits of virtual threads
  12. 14:52Pinning and thread locals
  13. 17:06Concurrency and virtual threads
  14. 18:15Using virtual=true in specs
  15. 20:04Scheduled asynchronous methods
  16. 25:05Summary of new features
  17. 25:50Demo introduction
  18. 30:23Running the demo
  19. 32:30Q&A session
~/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.