Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to limited REST API poll request ?

Shlomi Cohen March 14, 2019

Hi

we are using Perforce server for polling data from JIRA Data Center server, the P4 server a creating a lot of sessions (~300 sessions within a couple of minutes) and this causes performance issues on the servers which already have 300-400 real user sessions.

server (tomcat), by default, checks session timeouts periodically every one minute.

P4 server using bellow JIRA Java libraries 

https://docs.atlassian.com/jira-rest-java-client/2.0.0-m2/xref/

https://mvnrepository.com/artifact/com.atlassian.event/atlassian-event/2.2.0

 

is there any way to limited REST API session on client side so server handle the request less then 1 minute ?

 

thanks

Shlomi

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2019

Hi Shlomi,

If I understand your request, you are looking to adjust the REST client as a means to address the performance load that the Perforce integration seems to be having on your Jira Data Center setup.    I don't know if this approach is feasibly possible to achieve.

As an alternative, have you explored the possibilities of setting up a dedicated data center node exclusively for REST API requests to Jira?   There is an interesting enterprise level guide on Traffic distribution with Atlassian Data Center that might be very helpful in this scenario.  Depending on your load balancer, it might be possible to filter REST API requests directly to a specific node, while you can then serve your other Jira users with other data center nodes.   This setup has been known to help with performance issues like this one.

I hope this helps.

Andy

Shlomi Cohen March 26, 2019

Hi

 

thanks for your reply, I'm aware of this solution but wanted to avoid from manage another JIRA node. 

 

thanks

Shlomi

Suggest an answer

Log in or Sign up to answer