-
Suggestion
-
Resolution: Won't Fix
-
None
When the DVCS Connector communicates with github.com, it is (I think) able to understand and respect rate limit headers.
Unfortunately, Github Enterprise disables rate limiting, so it's possible for the DVCS Connector to swamp a GHE instance with many, many requests. We have measured periods in which we received 600 requests/second between our JIRA host and our Github Enterprise instance.
Based on a support issue, we've set jira.devstatus.applink.ratelimit to 60, but we anecdotally observe that it seems to affect the rate on a per-organization basis. If there are pushes to multiple repositories in several different organizations at about the same time, the request rates will spike again.
We would like to be able to specify that our JIRA host should never exceed N requests per second to our Github Enterprise instance for any reason.
Thank you for the update. I understand your reasoning for deferring work on this. I don't know that it's necessary for JIRA (or any such system) to manage its behavior this way, because it's something that the other system to take care of. For instance, Github Enterprise ought to use the same rate-limiting headers as github.com does, or organizations such as ours should install some sort of rate-limiting intermediary.
I would recommend adding some information about this to the JIRA Knowledge Base, however! As it turns out, we've lowered jira.devstatus.applink.ratelimit even further, to 10.