Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

NodeJS Agent and Application Performance Degradation

nodejs

#1

Node: v10.12.0
Agent: v4.11.0

Although there are no errors, we are seeing considerable performance degradation of our Node web application when including the NodeJS agent instrumentation. Overall throughput seems to drop around 1/3 of the original performance

We have tweaked the agent configuration, but have not found any noticeable improvements. (E.g. NEW_RELIC_HIDE_INTERNALS and other transaction tracer settings). In-fact, disabling almost all features has minimal impact on overall performance if New Relic is imported.

Are there any other settings or changes we should consider?

Local benchmarks -

W/o Agent:

Thread Stats   Avg      Stdev     Max   +/- Stdev
  Latency     3.52ms    3.91ms 102.85ms   96.84%
  Req/Sec     3.10k   639.69     3.94k    77.00%
61652 requests in 20.02s, 8.58MB read
Requests/sec:   3080.07
Transfer/sec:    439.00KB

W/ Agent:

Thread Stats   Avg      Stdev     Max   +/- Stdev
  Latency    10.29ms    8.81ms 141.89ms   94.29%
  Req/Sec     1.09k   210.84     1.40k    68.34%
21579 requests in 20.04s, 3.00MB read
Requests/sec:   1076.66
Transfer/sec:    153.46KB

#2

Hey @anikolis!

Thanks for reaching out to the community!

We’d like to help investigate this with you. To do so, we’re going to need to gather more info. I’m going to open a support ticket on your behalf so we can protect information sensitive to your application. We will continue troubleshooting from that platform going forward.

When we do come to a resolution in the ticket, we love to encourage folks to circle back to their original post here to share with the community where we landed. That way, others can learn from this experience.

Keep your eyes open for an email coming your way from us.

Cheers!

– Sara