dsv73806 2015-08-11 23:22
浏览 238
已采纳

多线程JIRA API调用问题

I now come with a problem of overloading.

Via PHP i'm starting multiple threads to retrive issue from a specific (the same) jql. I'm doing this to retrive multiple issues( thousands of them) faster. Normal call in my environment would be for 10k issue => 200 got and processed by each threads so=> 50 threads. I surely can lower the stakes, let's say 1000 issues per thread. But i want it faster than normaly.

A curl call would get the 10k issues in aprox. 8 mins.

What i want is to know if it exists any limit on JIRA regarding max req per second/minute/user, because i surely notice some overloading on system. And this doesn't seem something very big.

Any ideas? Thanks.

  • 写回答

1条回答 默认 最新

  • dongsonglian7303 2015-08-17 22:07
    关注

    The answer is that there is no limit regarding max requeste per second. Performance of the system will suffer only if RAM isn't enough.

    Jira Sizing Guide is a very good to start with.

    Thing i had to look at was max concurrent logged in users (each request was a new login) and size of data which had to be retrieven. On 8gb i found to be ok (not overloading server) 4 concurrent threads (requests/logins) and 400 issues retrievent by each request.

    Thanks :)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?