php delegating intensive tasks
<p>I'm trying to create a mailing feature for my application where the user can send emails to every subscriber. The issue is that this can take quite a while depending on the number of subscribers. I'd like to have it where the user will write the message and send it to the server. Then the server would "delegate" the task to be executed outside of the http request. That way a "transaction" id could be sent to the client which in turn could periodically "poll" the server to check the progress on the email transaction. What are some ways (or A way) that I can achieve this? </p>
