Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top