I checked other related post plugin and found some of them using this method. However, my concern is if a blog contains tens of thousands of posts, would using get_posts() affect their site. I can handle the traffic on my api but I’m not sure if their blog can handle the requests made by get_posts().
Also, what are the alternatives to get_posts() that can ensure that I fetch the data from client’s site one by one or be able to fetch them in batches instead of fetching all of them once.
Any best practices on making related post type plugins that you can share will also be appreciated ?