How to Run a PHP Long Running Process from a Web Page Without Making Users Wait by Using Redis with Lua Scripts Configured by Your PHP Applications
Here is an excellent PHP package for those who want to improve the user experience of sites that can perform long-running tasks using Redis so the users do not have to wait too long, like, for instance, sending newsletters: