Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to limited REST API poll request ?

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 Mar 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

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
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,775 views 5 15
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you