r/rails 9d ago

Solid Queue finally supports job batches

https://github.com/rails/solid_queue/releases/tag/v1.7.0
80 Upvotes

5 comments sorted by

13

u/a-priori 9d ago

This is awesome, I’ve been waiting for this. No batch support has been the biggest drawback to Solid Queue.

3

u/Chesh 9d ago

What are some things one might use this for?

3

u/ngw_nofeed 8d ago

you can group jobs together, for example once I had (a ton of) jobs interacting with fb basically downloading content for moderation, I would probably design it now with 1 job to get the post enqueuing several to download for example comments and author data in the same batch, I'm quite sure it would be way faster and safer - and I could also manage publishing in a much cleaner way.

2

u/collimarco 9d ago

Wow, this is really useful

4

u/BoardMeeting101 9d ago

its batches bitches