Skip to content

    Concurrency Showdown: Threads vs. Fibers

    RubyConf Australia 2024 — Sydney, Australia11 April 202422:48

    Co-presented with Ishani Trivedi.

    About this talk

    A comparative exploration of Ruby's concurrency models—threads vs fibers. Covers mutex locks, race conditions, deadlocks, and interrupt handling. Demonstrates a hybrid model using fibers for I/O-bound tasks and threads for CPU work, emphasizing Ruby 3.0's fiber enhancements.

    Ruby on Rails work · About Vishwajeetsingh Desurkar