Israel Saeta Pérez

Apasionado de la informática desde chiquitito. Aprendí a programar con recursos gratuitos y libros. Actualmente trabajo en TravelPerk dirigiendo un equipo y programando un poco en Python y Javascript cuando tengo tiempo. :) También he colaborado en múltiples comunidades relacionadas con Python como PyBCN y Python España.


Personal website

https://dukebody.com

Twitter

dukebody

LinkedIn

https://www.linkedin.com/in/israel-saeta-p%C3%A9rez-29268562/

Any other link (e.g. GitHub)

https://github.com/dukebody/


Sessions

10-01
12:10
35min
Django Zero Downtime Migrations
Israel Saeta Pérez, Francesco Venneri

Building an application with Django is fairly easy at the beginning because the framework provides stable solutions for many of the issues that every engineer deals with. But when things start to get bigger and complex, we can’t ignore what happens behind the scenes. We often need to “tweak” the standard behavior to comply with our exigencies.

How do we perform changes on a database with Django? We use what is known in the framework as “migrations”. We will see the basics of what they are, how they work and focus on their risks: they can be painful, lock tables and generate failed requests and downtime for the end users.

We will then show the solution we have adopted in TravelPerk to perform migrations in the safest way possible without impacting the availability of our systems. An approach we call “Zero Downtime Migrations”.

Web
Katherine Johnson (Teoría 7)