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

1 votes
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,932 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot