문제

I am trying to profile a python code being run by uwsgi server. A normal request would take 1-2 sec and would be doing various database calls, access data in redis and memcache, some I/O and, at the end, return some JSON response to the user.

When using newrelic for monitoring, what would be the impact on the server? How much the time can be slowed down? Is there any direct method to measure this data or any non-trivial solution?

도움이 되었습니까?

해결책

The impact depends slightly on your specific framework, but ultimately it depends on how many instrumented nodes are encountered for a request. One of the New Relic agent developers addressed this topic here: Looking to quantify the performance overhead of NewRelic monitoring in python django app

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top