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 -
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
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