Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top