How to Profile Live Production

preview_player
Показать описание
Running profiling from live production without reboot service for any version of Odoo. There are a lot of performance issues related to the environment. If you start checking what is wrong using a test environment, you can not reproduce it even if you are using the exact environment. Using tools where you can check a performance issue from a live production is a great way to check it. It is important to avoid rebooting the Odoo service since it is used live.

Other kinds of tools require a reboot, and they work using just one worker like cProfiling, line-profiler, where a change in the code to enable is required and a monkey patch to Odoo is needed to make it compatible. In this talk, you will learn how to enable profiling for more than one worker. The tools used are: pyflame, postgres log and pgbadger All can be started without modifying code, so without rebooting Odoo service.

Рекомендации по теме