good_job icon indicating copy to clipboard operation
good_job copied to clipboard

Consider new Ruby 3.0 Fiber Scheduler

Open ollym opened this issue 3 years ago • 1 comments

Now that https://github.com/ged/ruby-pg/pull/397 is merged, would be good to investigate adding full compatibility to Fiber.scheduler for Good Job also instead of using threads.

Obviously would require Ruby 3.0, and I don't claim to fully understand how it all works but I got a feeling Good Job performance could benefit from it for Ruby 3+

ollym avatar Jan 24 '22 17:01 ollym

@ollym Thanks for flagging this for me. GoodJob is dependent on Concurrent-Ruby for concurrency primitives, so when/if Concurrent Ruby decides to implement Fibers, GoodJob can stand on its shoulders.

bensheldon avatar Jan 24 '22 17:01 bensheldon