JIRA webhook performance : what to expect

Andrei [errno] Community Champion May 09, 2017

as we are registering more and more webhooks in our JIRA - I have wondered:

  • how does it affect the entire system if webhooks are configured to be fired with every 'create' event, for example?
  • even if I  restrict events to a subset of issues via JQL - does it mean every issue-related event is still considered for a mulittude of wehooks?
  • how does it work internally?
    Let's say - I create an issue and JIRA goes through the list of all registered webhooks and tries to match it against each JQL and fires those callbacks?
  • If we create 100's of issues within short period of time - does it negatively impact the UI thread?
  • should we rather add custom events and add separate listeners? trying to find the right balance re: complexity/performance... I'd stick with webhooks as it seems to be the most generic approach, but does it come with a cost?

thank you

1 answer

This widget could not be displayed.
Pedro Felgueiras Community Champion May 19, 2017

The performance is a variable that depends on many factor. How are you mesuring the perfermance of your sistem? 

The webhooks are threads that run seperatly. So, if you server has "room" the UI threads shuldn't be afected to mutch.

I think the better solution is to create something like a proxy where you put the business logic that you need. For example, create only one webhook for create issue that is trigerd for all the issues, inside the service that is called by the webhook validate what you need to do. 

What if there are hundreds of updates happening per second? does having a webhook created affect the overall performance of jira? 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

173 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you