PHP workers in AWS EBS
PHP

messagesare sent to SQS.A static amount (configurable) of PHP
workersare kept alive by theSupervisor.Given the nature of PHP, we optimize
workersto stop and restart every X minutes.
While workers are running, they attempt to fetch messages from SQS.
If a
workergets amessagethen it starts working on that job and takes it to completion.If a
workercrashes while processing then theSupervisorwill bring it back up.What will happen to the message that was pulled off the queue by that "crashed"
worker?Will the resurrected worker start work on the same exact
messageagain?

Last updated