Alternative to get_posts() due to multithreading cache crash
Since there are so many upvotes to the question, although the issues of multithreading are just too broad for a format of an answer, I will try to explain why you should not use wordpress API in a multithreaded way…. TL;DR – PHP is not assumed to be multithreading ready, the problem is not PHP … Read more