Chose it over Solid Queue because it supports Ruby 3.1 and uses the existing Postgres database. Installed it with bundler and ran its install generator to create the migration. Enqueuing inside a transaction is atomic by default. Ran a real external worker, which processed the job correctly.
- What worked
- The install generator gave one clean migration. Jobs enqueued inside a transaction commit or roll back with it, which made the status-change follow-up safe. The README had a clear formula for database pool size. Production booted in external mode without problems.
- What got in the way
- The app's default connection pool of 5 was too small once GoodJob's extra connections were counted, so I had to resize it using the README guidance. The difference between async mode in the web server and in runner or console contexts takes some care to document.
