How do I handle poison-pill messages and a Dead Letter Queue in the queue?
Put tries and a backoff on the job so it lands in failed_jobs at the cap, alert from a JobFailed listener and replay it with queue:retry.
Tag
Building applications with Laravel: Eloquent, queues, authentication and version upgrades. Questions under this tag, answered directly. (Page 2/2)
14 answered questions carry this tag.
Put tries and a backoff on the job so it lands in failed_jobs at the cap, alert from a JobFailed listener and replay it with queue:retry.
A breaker alone won't hold: pull connect_timeout and timeout down to 800ms-2s, isolate the dependency behind a bulkhead, and define a cached fallback.
Serve 2-5 GB files outside PHP via a presigned URL or X-Accel-Redirect; if it must go through PHP, chunk it with readStream and turn off buffering.
Plot the memory_get_usage curve first, bisect service providers to narrow the culprit, then reset stateful singletons in Octane's hooks and clear statics.