4 ms·
Among the deluge of github notifications, I noticed Mike Perham of Sidekiq fame working https://github.com/mperham/ratomic https://github.com/mperham/ratomic --
by dpflan 2y ago
Among the deluge of github notifications, I noticed Mike Perham of Sidekiq fame working https://github.com/mperham/ratomic https://github.com/mperham/ratomic -- "Ratomic provides mutable data structures for use with Ruby's Ractors. This allows Ruby code to scale beyond the infamous GVL."
I then see that he posted: https://ruby.social/@getajobmike/114147139715606013 https://ruby.social/@getajobmike/114147139715606013
"""
After months of work on 8.0, I’ve been trying to prototype a Ractor-based job system using Redis Cluster so the system can scale to hundreds of Redises with minimal effort.
The hardest part is Ractors. They are quite difficult to program as they don’t allow lexical scope or closure variable access. I haven’t yet figured out the code patterns necessary for them. I would call it a dialect of Ruby.
To be fair, I think I had the same struggles when learning goroutines and channels.
"""
Looks like he's trying to scale up sidekiq!
- corytheboyd 2y agoGuessing the Go experience is largely from faktory https://github.com/contribsys/faktory https://github.com/contribsys/faktory But I dunno you can just go ask him about it, assuming he still does those Friday morning “happy hour” calls :)