ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

DjangoCon US 2024: Deploying Django migrations at Kraken scale with Tim Bell

Автор: Confreaks

Загружено: 2025-03-22

Просмотров: 82

Описание: Kraken is an energy retail system built on Django. It is currently in use by over 20 clients around the world, including the largest energy retailer in the UK, Octopus Energy, which developed Kraken.

When Kraken started out over 8 years ago supporting a single small client, applying Django migrations to make database schema changes was easy. Any migration that might be slightly dangerous was deployed outside business hours when the system was relatively quiet and there was no risk of disrupting the work of customer service staff. Kraken has now grown: the code has around 350 Django apps, with over 9000 migration files between them, and some database tables have billions of rows. With Kraken operating in 8 time zones around the globe, there is now no such thing as "outside business hours". We have needed to find other ways of deploying migrations that might be risky.

There are two main risk factors with applying migrations: taking exclusive database locks, and needing a long time to apply. Exclusive locks can interrupt normal system operations, while slow migrations can hold up the deployment process, potentially preventing later deployments for a long period.

This talk describes how we write migrations so that they avoid risks where possible, and how we deploy them in a scalable way, avoiding the need for manual intervention as much as possible. We describe techniques that use standard features in the Django migration system, as well as a system we have developed to complement standard Django migrations. The techniques described should be generally applicable to most large Django installations.


This talk was presented at: https://2024.djangocon.us/talks/deplo...

LINKS:
Follow Tim Bell 👇
On Mastodon: https://chaos.social/@timb07
On X: https://x.com/timb07

Follow DjangoCon US 👇
https://fosstodon.org/@djangocon
https://x.com/djangocon

Follow DEFNA 👇
https://www.defna.org/


Video Production by Confreaks
Follow Confreaks 👇
https://confreaks.com
https://x.com/confreaks
https://confreaks.bsky.social

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
DjangoCon US 2024: Deploying Django migrations at Kraken scale with Tim Bell

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

DjangoCon US 2024: Operations: The Missing Django Piece with Micah Lyle

DjangoCon US 2024: Operations: The Missing Django Piece with Micah Lyle

DinosaurJS 2017: Perfecting Perf: Rapid, Rigorous and Reproducible Performance... by Lon Ingram

DinosaurJS 2017: Perfecting Perf: Rapid, Rigorous and Reproducible Performance... by Lon Ingram

DinosaurJS 2017: Atomic Design as a Migration Strategy by Harrison Harnisch

DinosaurJS 2017: Atomic Design as a Migration Strategy by Harrison Harnisch

DinosaurJS 2017: Get Your Head Outta the Cloud – Let’s Talk Tech by Jeremy Foster

DinosaurJS 2017: Get Your Head Outta the Cloud – Let’s Talk Tech by Jeremy Foster

Как Amazon Q CLI ускоряет разработку: Демо и реальные примеры

Как Amazon Q CLI ускоряет разработку: Демо и реальные примеры

«Жить надо сегодня». Олег Тиньков и Майкл Калви о взлете нового финтех-стартапа Plata

«Жить надо сегодня». Олег Тиньков и Майкл Калви о взлете нового финтех-стартапа Plata

СТРАШНАЯ КАРТИНА – КУСКИ ВИСЕЛИ НА ДЕРЕВЬЯХ. Авиакатастрофа, в которой никто не выжил

СТРАШНАЯ КАРТИНА – КУСКИ ВИСЕЛИ НА ДЕРЕВЬЯХ. Авиакатастрофа, в которой никто не выжил

Конфликт Азербайджана и России. Силовики убили двух азербайджанцев во время рейда на мигрантов

Конфликт Азербайджана и России. Силовики убили двух азербайджанцев во время рейда на мигрантов

Новейшая ракета РФ уничтожена / Жаркая ночь в Крыму

Новейшая ракета РФ уничтожена / Жаркая ночь в Крыму

ОГРОМНАЯ ИЗБА! ПОПАЛ ПОД ПРОЛИВНОЙ ДОЖДЬ. ИДУ ЗА ЩУКОЙ.

ОГРОМНАЯ ИЗБА! ПОПАЛ ПОД ПРОЛИВНОЙ ДОЖДЬ. ИДУ ЗА ЩУКОЙ.

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]