Home >Backend Development >PHP Tutorial >PHP implements multi-threading, asynchronous and non-blocking_PHP tutorial
Currently, the situation encountered using multi-threading asynchronous non-blocking:
1. Send email.
2. Record log
3. Mobile phone message push (use personal push).
4. Send text message
Using single-threaded synchronous blocking takes a long time
Solution:
1. The company’s current solution: gearman
2.swoole: http://www.swoole.com/
I’ll write down the details later!