ansien/simple-job-queue-bundle
CommandBus or Messenger alternatives for background processing).Messenger or Enqueue).symfony/lock (for job locking), which is still maintained.sjqb_jobs table (simple design: id, command, status, payload, created_at, updated_at).app:test-command). Requires commands to be registered and idempotent.--foo=bar), which may limit complex data structures.JMSJobQueueBundle) is recommended in the README but also unmaintained (last release: 2018).sjqb_jobs table.sjqb_jobs table sufficient for auditing, or is a custom solution needed?symfony/messenger (with Doctrine transport) or enqueue/symfony been considered? These are actively maintained and offer more features.symfony/process) be simpler?SimpleJobService for job creation (dependency-injectable).simple-job-queue:run) for processing.symfony/lock (compatible with Symfony 5.x).Messenger or Enqueue.doctrine:schema:update --force or create a custom migration for the sjqb_jobs table.php bin/console simple-job-queue:run manually./var/log/simple_job_queue*.log).symfony/lock (v5.0+) is required and actively maintained.symfony/console).Messenger components (e.g., Transport, Middleware).Attribute-based routing or newer features.composer require ansien/simple-job-queue-bundle.sjqb_jobs table.SimpleJobService and create jobs programmatically or via events.stdout_logfile and stderr_logfile.sjqb_jobs table is modified.symfony/lock is maintained, but other dependencies (e.g., PHP 8.x) may cause issues.sjqb_jobs table (status, payload)./var/log/simple_job_queue*.log).sjqb_jobs table.numprocs in Supervisor for parallel workers (limited by database contention).startsecs/autorestart for fault tolerance.SELECT ... FOR UPDATE) in jobs, but this adds complexity.simple-job-queue:run is executed (Supervisor default: every 1 second).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Supervisor crash | Jobs stop processing until restart. | autorestart=true in Supervisor config. |
| Database unavailability | Workers stall; jobs remain pending. | Implement retry logic in jobs or use a circuit breaker. |
| Job command failure | Job marked as failed; payload lost (unless logged manually). | Add custom error handling/logging in jobs. |
| Schema corruption | Jobs cannot be fetched/processed. | Regular backups of the sjqb_jobs table |
How can I help you explore Laravel packages today?