Slow application start with xray agent
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- aws, java, spring-boot
- Domain
- backend, performance
Research direction
Start by reproducing the Spring Boot startup with and without the aws-xray-java-agent 2.7.1 configuration in build.gradle, using the bootRun entry point and the disco/disco-java-agent.jar and disco/disco-plugins paths shown. Compare the startup timings and determine whether the reported slowdown is expected or indicates a setup problem; done means the cause and expected behavior are documented.
Written by the indexing model from the issue text.
Description
I recently added aws-xray-java-agent 2.7.1 to an app running Spring boot 2.3.5.
Before I added the agent, startup typically took around 3-4 seconds.
Started Application in 3.927 seconds (JVM running for 4.282)
Using aws-xray-java-agent 2.7.1, the startup of my application takes anywhere between 5-10 times longer.
Basically put the disco jars in place and added this line to my gradle.build
bootRun {
jvmArgs = ["-javaagent:disco/disco-java-agent.jar=pluginPath=disco/disco-plugins"]
}
Started Application in 21.268 seconds (JVM running for 23.917)
Does this slowdown seem reasonably, or is something going on with my setup?
- Dominant language
- Java
- Stars
- 46
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/aws-xray-java-agent
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws/aws-xray-java-agent#120 · 2 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws/aws-xray-java-agent#118 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
aws/aws-xray-java-agent#117 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws/aws-xray-java-agent#111 · 1 comment ·
-
question stale
aws/aws-xray-java-agent#108 · 2 comments · 1 assignee ·
All issues in aws/aws-xray-java-agent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100