likyh commented on issue #1433: URL: https://github.com/apache/incubator-devlake/issues/1433#issuecomment-1177423397
After exploring GraphQL, I found that it is indeed a little faster than restful. The main reason is that GitHub Collector does not have many fine things. Only pr's commits/reviewers will reduce the number of requests because they can be requested in pr. The rateLimit is also. The list of issues or others is the same between these 2 ways. but the pr's commits/reviewers are a bit larger because of the combined requests. Also found a major reason for GitHub speed, GitHub is allowing such 5000 times an hour, which can be all used up in the first minute. But our strategy is to divide the quota into each second and use it slowly. Translated with www.DeepL.com/Translator (free version) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
