What is the Queue system in Laravel?

Answer

Laravel's Queue system allows you to defer time-consuming tasks (sending emails, processing images, generating reports) to background workers, keeping HTTP responses fast. Create a job: php artisan make:job ProcessPodcast. Dispatch it: ProcessPodcast::dispatch($podcast) or dispatch(new ProcessPodcast($podcast)). Queue drivers: database, redis, sqs (Amazon SQS), beanstalkd, sync (no actual queue, runs immediately). Start a worker: php artisan queue:work. Delay a job: ProcessPodcast::dispatch($podcast)->delay(now()->addMinutes(10)). Failed jobs are stored and can be retried: php artisan queue:retry all. php artisan queue:failed lists failed jobs. Supervisor is used to keep queue workers running in production.