logoalt Hacker News

Solid Queue 1.6.0 now supports fiber workers

47 pointsby earcartoday at 7:42 AM11 commentsview on HN

Comments

ramon156today at 11:12 AM

So fibers are a lot like threads but they're more scoped to a task that can be paused and resumed, that's kinda cool

show 2 replies
swe_dimatoday at 11:50 AM

My concern is number of database connections. In the example it's 100 fibers per worker, at that rate you are going to exhaust db connections sooner. Happy to be wrong.

show 3 replies
Liotoday at 10:00 AM

This is a nice update.

Is it possible to either have multiple ractors dispatching jobs with fibres or to set up multiple queues with different strategies?

E.g. one for IO bound and one for CPU bound?

With Sidekiq I’ve had luck having workers running on Truffleruby but generally don’t use it for my main rails apps.

show 1 reply