dsv73806 2015-08-12 07:22
浏览 236
已采纳

多线程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-18 06: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 :)

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

报告相同问题?

悬赏问题

  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发