~/talk

The Virtual Wars of Dining Philosophers

TalkinRussianat Joker 2025 · 2025-10-17..10-18· [concurrency]
links:none on file
slides:none on file

Using the classic Dining Philosophers concurrency problem, the talk measures misconceptions about Java virtual threads by implementing and benchmarking solutions with platform threads and virtual threads, using ReentrantLock and synchronized approaches. Benchmarks are built with JMH and JLBH to compare performance and behavior under various simulated activities (eating, sleeping, running, networking).

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Virtual vs platform threads
  3. 3:32Performance claims
  4. 6:42Dining philosophers problem
  5. 8:52Structured concurrency
  6. 10:58Benchmark results
  7. 13:04Benchmark methodology
  8. 15:32CPU vs I/O-bound tasks
  9. 17:18Sleeping philosophers
  10. 18:45Active waiting
  11. 19:48Disk reading
  12. 22:55Benchmarking tools
  13. 25:03JMH vs JLBH
  14. 27:11JLBH details
  15. 30:01Network reading
  16. 32:29HTTP clients
  17. 33:56Benchmark summary
  18. 36:27Scaling to 100k
  19. 38:55Scaling analysis
  20. 40:42Key takeaways
  21. 43:11Testing methodology
  22. 44:36Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.