Python Profiling and Performance Tuning in Production

Publicado el: 19 enero 2017
en el canal de: linux conf au 2017 - Hobart, Australia
2,153
29

Joe Gordon
http://linux.conf.au/schedule/present...
Pinterest decreased latency and shrunk their front-end fleet by over 40% with less than 100 lines of python. This was done by understanding how a significant amount of latency and consumed resources were the result of gevent’s cooperative multitasking. 3 different open source python profilers, were then used together to identify and fix bottlenecks and inefficiencies in the code base. Most profilers are too slow to use in production, so profiling of web servers often occurs in synthetic environments. But to get an accurate picture of what is happening you need production profiling data, so a production ready Linux signal (SIGVTALRM) based python profiler was used. This talk will cover how Pinterest shrunk their front-end fleet, the techniques and tooling used to improve performance and how they can be applied elsewhere.


En esta página del sitio puede ver el video en línea Python Profiling and Performance Tuning in Production de Duración hora minuto segunda en buena calidad , que subió el usuario linux conf au 2017 - Hobart, Australia 19 enero 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,153 veces y le gustó 29 a los espectadores. Disfruta viendo!