RUVIDEO
Поделитесь видео 🙏

Database migrations using Alembic | Docker in Practice | Docker Series: Tutorial 6 смотреть онлайн

This is our sixth tutorial in which we focus on Database migrations and caching.
It's very likely that you add new tables to the apps or your tables schema changes as your project grows and new features are added. For python web applications, specifically the ones based on aiohttp framework, there's a library called 'alembic' which can automatically detect changes on your tables and create revisions for each migration.
I've used this library and demonstrated how you can use it to manage database migrations. I've created a file called
docker-entrypoint.sh for the auth service. We use this file to make sure of prerequisites such as database migrations before starting up the container. Caching is a mechanism to improve the speed of a backend application. In this approach, objects are stored in an in-memory cache such as Redis for faster retrieval in the future. It's up to you to decide when to invalidate the cache and expire old objects. Make use of .env file to create tags for different environments like test or prod images. You can also use shell terminal ENV variables to overwrite the variables inside that file. For example 'export TAG=local' will overwrite the TAG in the .env file when used by docker-compose.

The full source code is available at: https://github.com/teacheetah/tutorial04.git

#database_migration
#docker
#database
#alembic
#alembic_tutorial
#docker_tutorial
#docker_production_usage

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Database migrations using Alembic | Docker in Practice | Docker Series: Tutorial 6» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.