Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracing Id enabled is causing the performance issues in Mule #209

Open
ramakrishnakapa opened this issue Sep 25, 2024 · 2 comments
Open

Comments

@ramakrishnakapa
Copy link

We had an issue when we enabled tracing Id in Mule4, so just wanted to change below current config to new values, need some suggestions in this.

1.can we experiment with increasing this value. A higher max queue size allows more traces to be stored in the queue before they are exported, reducing the frequency of exports and improving performance. If memory consumption is not a concern, try increasing this to 4096 or 8192, then monitor if it reduces the overhead without causing excessive memory usage.

2.Max Batch Export Size (Currently 512). Increasing this value to 1024 could help by reducing the number of batch export operations. However, you should test if this introduces any delay in tracing visibility.

3.Batch Export Delay Interval (Currently 5000 ms).from 5000 ms (5 seconds) to 10000 ms (10 seconds), to reduce the number of exports
4. Batch Export Timeout (Currently 30000 ms)A slight decrease to 20,000 ms might help if you're seeing delays. However, decreasing this too much could cause frequent timeouts and dropped traces.

Could someone help on the below configuration are ok or will it cause any issues?

@ramakrishnakapa
Copy link
Author

Uploading open.png…

@manikmagar
Copy link
Contributor

@ramakrishnakapa As stated in those points, each one has a possible impact of it. I think you should do a performance test with adjustments to find out the impact on your application performance.

In case you haven't seen, you can check some suggestions here - #197 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants