Conversation
|
Hey @ashwin47, even if we switched Campfire to Solid Queue, I wouldn't set the As for the migration from Resque to Solid Queue, I think this would be something to discuss with maintainers before even opening a PR 🤔 |
57ca919 to
fde5dbe
Compare
Switch to official solid_queue gem and use fork mode (the default) for multi-CPU support. Async mode remains available as opt-in via SOLID_QUEUE_IN_PUMA=true for memory-constrained environments. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fde5dbe to
4631f4a
Compare
|
Thanks for the feedback @rosa! You're absolutely right about fork mode being the better default. I was too focused on keeping the memory under control because I have an instance running on a small VPS. I've updated the PR to:
Regarding discussing with maintainers first — totally fair point. But i feel its time to switch to Happy to close this if it's not something being considered, or continue iterating if there's interest. |
Replace Resque with Solid Queue as it is the recommended default for Rails.
I noticed an increase in memory usage after the switch. This is expected with Solid Queue's forking architecture. We can overcome this with async mode (rails/solid_queue#644), which runs everything as threads inside Puma instead, giving us lower memory usage than Resque.
Changes
We can wait until the async PR is merged before going ahead with this
cc @rosa