PHP uses swoole to deal with big data concurrency issues - millions of data

1 Turn on php's swoole

2 Turn off the disabled function 

 

 3 Processing at the code level, use the list to receive the val value, remove the key, and convert the json into an array

 

 4 successful prints

 5 query process

ps -ef | grep  backuser:add

 6 Kill the process and stop the task

kill -TERM 15339

Guess you like

Origin blog.csdn.net/qq_33665793/article/details/131014399