Menu
How to Profile Live Production
Developer
Địa điểm: Aula Magna / Foyer Royal - 15:00, 03/10/2019 - 15:20, 03/10/2019 (Europe/Brussels) (20 phút)
How to Profile Live Production
Moisés Augusto López Calderón
Director tại Vauxoo S.A. de C.V.
Moisés Augusto López Calderón
Director tại Vauxoo S.A. de C.V.

Odoo developer from TinyERP 4.2 CTO of Vauxoo Gold Partner


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. 

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.