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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,642,305
Community Members
 
Community Events
196
Community Groups

Overview and practical use cases with open source tracing tool for Java Apps. In-house devs

This example comes from internal development, in fact, this is often the case with applications from the marketplace.atlassian.com.

One morning, looking at the charts, I saw how slow and repetitive the requests are, which often indicate automation and integration.

image.png

Having clicked on the requests, I saw that almost all of them refer to the rest endpoint below.

image.png

And right away by clicking on the flamegraph, we can easily find the roots, all these heavy requests and allocated memory.

Then I got a trace to the method, and I see that 80 percent comes fromIssueToJiraExtranetIssue method.

image.png

Since this is a jar file by IntellIJ Idea, we find interesting points. In the following piece of code,

image.png

Line 422, issueRequest.getMax () is not a desirable practice

Line 427 points to the jiraExtranetIssue class, which has a huge number of fields.

image.png

As a result, the next step was refactoring class fields, review loop. 

As optional info, please, checkout the next article.

https://blog.gceasy.io/2019/11/06/memory-wasted-by-spring-boot-application/ 

https://www.csd.uoc.gr/~hy252/project_old/performance.pdf - this one describe the fundamental steps, of course in the new JDK build better and run in JRE as well.

Next example will be related to the one of apps from the marketplace, once the vendor accepts.

 

I hope it was interesting, feel free to ask questions

1 comment

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 31, 2021

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events