Let's gather again - in person and enjoy some talks & company.
Schedule
(estimated)
18:30 Doors Open and get together
19:00 Intro & first Talk
~19:30 Break
~20:00 2nd talk TBA
~ 20:30 Lightning Talks (5 mins each)
Food & Drinks
There will be drinks, there might not be food we'll update you.
Space
We're in the backyard at staircase H. There will be flyers. Also, the entrance is a bit farther from where we'll be - we'd appreciate it if you were on time as fetching people may be harder. If you're stuck in front of a closed door try to ping Kaja or pragtob in the Ruby Berlin Slack (invite link).
Topics
Fibers. Ractors. What a Farce.
A deep dive into Fiber schedulers and Ractors. An introduction of a new library to work with both.
Along the way we'll talk about software transactional memory, alternative Ruby implementations, and much more.
Context
- Threads are the classic concurrency primitive in Ruby, and mostly map to native operating system threads. This way any system calls, IO, or other blocking operations will block a thread, allowing another one to run. However, on the official Ruby implementation (often referred to as CRuby or MRI), Threads cannot run in parallel due to the Global VM Lock (GVL). This means that even if you have multiple threads, only one of them can execute Ruby code at a time.
- Ractors provide parallelism, even on CRuby. They make it very hard to introduce concurrency issues between them, but put severe limitations on state sharing and cross-ractor communication. Ractors are only supported by CRuby, but that is generally not an issue, as other implementations, such as JRuby and TruffleRuby, support true parallelism with Threads. As of Ruby 4.0, Ractors are still considered experimental.
- Fiber schedulers allow you to run multiple Fibers concurrently on a single Thread, without having to explicitly pass control between them. This is a very efficient way to run concurrent code, especially for IO-bound workloads. As of Ruby 4.0, Fiber schedulers with IO support are still considered experimental.
All three of these need some form of concurrency coordination for shared state. These are usually the most complicated for Threads, as state is shared between them freely, and an interrupt can happen at any time. Fibers on the other hand have explicit control transfer (only on blocking operations or when giving up control), so their behavior is much more predictable. Ractors disallow sharing mutable state between them (or have built-in locking for the few cases where they allow it).
Both the Ruby core library, and other libraries, like the very popular concurrent-ruby gem, provide plenty of primitives to solve this. However, most of them are not compatible with Ractors. And those that are, are then in turn usually not compatible with Fiber schedulers. Due to this, most of the popular frameworks and libraries out there do not support Ractors at all!
What do we need to fix this?
Route
Events
The next meetup is taking place on Thu, 03 Dec 2026 19:00:00 +0100 at nebenan.de!
Topics
Do you want to give a Talk at the Ruby Usergroup or do you have additional Topics to talk about? Then send us an E-Mail.
Amr Abdelwahab(عمرو)
Events: 31
Topics: 6
Tobias Pfeiffer
Events: 110
Topics: 16
Usergroups need engaging People. If you think some Topic is missing, or you want to have more Infos on something, you are encouraged to add it to our Wishlist. If you have an Idea for a Talk or anything else add it here to get instant Feedback of the Ruby / Rails Community.
Add a TopicUpcoming Topics
Proposals
- Get in loser, we are going to build our own text editor
- Pinky and the Brain
- Failure is Inevitable – on Exceptions, Errors, and Edge Cases
- Mastering Turbo Frames and Turbo Streams: A Hands-On Introduction
- Introduction to serverless computing with Ruby and AWS Lambda
- How we test
- Post-Postman
- Mastering the DX Framework: A Journey from DORA to SPACE and Beyond for Engineering Organization Maturity
- Building a Recommender System
- Generate annonymised database by MasKING
- On dialectical behavioural therapy and tech
- Gem and Bundler Internals
- The political ideology of DHH / The anti-VC ideology of Basecamp / The "ideology" in Rails?
Recent Topics
- How Much Can Static Analysis Know About a Rails App?
- The Human Side of AI-Assisted Software Development
- Durable Workflows with Temporal
- Finding all the Vulnerabilities with AI
- Working in, with and on Discourse
- New initiative: Ruby Connect
- Plain <html> and .css can be beautiful
- Let's build a database... in Ruby
- Critical Architecture
- Let's write a parser
- All Topics
People
The Ruby Usergroup Berlin is a usergroup, group of interest or just a bunch of people loving Ruby. Get in contact with us at our next meetup! Newbees are always welcome.
Leonardo Kalyn
Events: 1
Topics: 0
Anna Costalonga
Events: 1
Topics: 0
Andrew
Events: 3
Topics: 0
Sona/Soeun Lee
Events: 1
Topics: 0
Alex Jahraus
Events: 14
Topics: 1
Timur
Events: 12
Topics: 1
Dejan Menges
Events: 1
Topics: 1
Jane
Events: 2
Topics: 0
Lucas Grüner
Events: 2
Topics: 0
Gregor Schmidt
Events: 1
Topics: 0
Michael Reinsch
Events: 32
Topics: 2
Graham Flaspoehler
Events: 5
Topics: 0
kaja
Events: 44
Topics: 1
Thomas Obkircher
Events: 1
Topics: 0
Leon Gieser
Events: 1
Topics: 0
Locations
These are the Locations our usergroup usually takes place.
A lot of the Members of the Ruby Usergroup are working there too and we love to see new faces around.
If you think that a Company is missing, send us an E-Mail.