~/talk

Discussion on Thread between version 1.8.6 and 2.2.3

Talkat RubyKaigi 2015 · 2015-12-11..12-13· [ruby]
links:none on file
slides:none on file

Ruby 1.8.6 causes threads to silently hang so a custom watcher is built: each child thread updates a timestamp and the main thread checks those timestamps. Reproduced with 1 process × 100 threads (original was 100 processes × 100 threads). Findings: Thread#status lies when a child enters an infinite loop, Timeout causes mass stalls when many threads raise timeout exceptions, Ruby 2.2.3 reduces some failures but shows higher CPU and larger memory for exception-heavy workloads, so monitoring and avoiding Timeout/expensive allocations remains necessary.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 2:57Thread challenges overview
  3. 11:04Case studies and version comparison
  4. 20:32Performance and memory impact
  5. 22:01Conclusion and future considerations
  6. 23:59Q&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.