Python Profiling and Performance Tuning in Production

Опубликовано: 19 Январь 2017
на канале: linux conf au 2017 - Hobart, Australia
2,195
30

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.


На этой странице сайта вы можете посмотреть видео онлайн Python Profiling and Performance Tuning in Production длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь linux conf au 2017 - Hobart, Australia 19 Январь 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,195 раз и оно понравилось 30 зрителям. Приятного просмотра!