Solid Queue 1.6.0 now supports fiber workers

earcar2 pts0 comments

Release v1.6.0 - fiber execution mode (with Async) 路 rails/solid_queue 路 GitHub

//releases/show" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

//releases/show;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

Uh oh!

There was an error while loading. Please reload this page.

rails

solid_queue

Public

Notifications<br>You must be signed in to change notification settings

Fork<br>245

Star<br>2.5k

v1.6.0 - fiber execution mode (with Async)

Latest

Latest

Compare

Choose a tag to compare

Sorry, something went wrong.

Filter

Loading

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

No results found

View all tags

rosa

released this

31 Jul 11:59

v1.6.0

86f3d92

A long-awaited feature thanks to @crmne on this release: instead of using a thread pool to run jobs in multiple threads per works, you can now use fibers on a single fiber reactor thread. To use this, you just need to specify the number of fibers instead of the number of threads in your worker configuration, like this:

workers:<br>- queues: "api*"<br>fibers: 100<br>polling_interval: 0.05

It uses Async under the hood, so you need to have that as a dependency for it to work. Also, you need to be using fiber isolation in Rails (config.active_support.isolation_level`` = :fiber).

This can be very useful for I/O-bound workloads, such as those involving LLM calls.

What's Changed

Add fiber worker execution mode by @crmne in #728

Roll back transactions leaked by killed job threads in tests by @rosa in #773

Document how to update dynamic recurring tasks by @wintan1418 in #777

New Contributors

@crmne made their first contribution in #728

@wintan1418 made their first contribution in #777

Full Changelog : v1.5.1...v1.6.0

Contributors

crmne, rosa, and wintan1418

Assets

Loading

Uh oh!

There was an error while loading. Please reload this page.

-->

馃憤<br>m3thom and usutani reacted with thumbs up emoji<br>鉂わ笍<br>Cosmo, nwarwick, and am1006 reacted with heart emoji<br>馃殌<br>larouxn, joaofelipesus, eelcoj, marcelolx, and kalicki reacted with rocket emoji

All reactions

馃憤<br>2 reactions

鉂わ笍<br>3 reactions

馃殌<br>5 reactions

10 people reacted

You can鈥檛 perform that action at this time.

fiber reload search loading crmne reacted

Related Articles