Hi there,
I was wondering if anyone has any tips for Multithreading in PHP 7.
I've done some preliminary research and not sure which of the following I should be using?
1) Use built in Thread Object in the PHP Language
2) cURL ?
https://www.reddit.com/r/PHP/comments/3a2yyu/async_in_php/
3) This exec hack
https://medium.com/async-php/multi-process-php-94a4e5a4be05#.uiboo7tro
4) Some 3rd party Library I'm not aware of? Icicle?
I'm implementing a new search that searches the title, contents of the article and the author names. It would normally be 3 sequential searches followed by formatting the results before outputting.
Would like to implement some asynchronous searches here and keep it if it runs faster than the sequential counterpart.
Thanks in advance!