Open in app

Sign In

Write

Sign In

Darya Plotnikova
Darya Plotnikova

86 Followers

Home

About

Pinned

Migrate your Django monolith to microservices. 2nd step — understanding Django model and migration management.

Hi there! This is the second post in the series about refactoring Django project, including transferring models between apps. You may find other steps by links: Migrate your Django monolith to microservices. The 1st step — preparation. Migrate your Django monolith to microservices. …

Django

7 min read

Migrate your Django monolith to microservices. 2nd step — understanding Django model management
Migrate your Django monolith to microservices. 2nd step — understanding Django model management
Django

7 min read


Published in

Analytics Vidhya

·Pinned

Python & Django optimization tools and process

Django is a good instrument (not the best, but good enough) to create web apps as fast as possible, it includes a lot of useful batteries which allow to start up production-ready MVP in a days. But if you are going to evolve your app you need to pay attention…

Django

7 min read

Python & Django optimization tools and process
Python & Django optimization tools and process
Django

7 min read


Aug 6

I had been writing for 1 year with FastAPI after 5-year experience with Django. And here what I have learned.

For whom this article is written — for people who just started their way in backend development and are deciding now what a framework to choose, either FastAPI or Django. Also the post may be interesting for Djangonauts, who consider switching to FastAPI. You will not find deep comparison of…

Django

6 min read

Django

6 min read


Jan 3

Migrate your Django monolith to microservices. The 3rd step — migrating custom User model

Hi there! This is the last post in a series explaining separation of existing Django project on several subapps: Migrate your Django monolith to microservices. The 1st step — preparation. Migrate your Django monolith to microservices. The 2nd step — understanding Django model and migration management. Migrate your Django monolith…

Django

7 min read

Migrate your Django monolith to microservices. The 3rd step — migrating custom User model
Migrate your Django monolith to microservices. The 3rd step — migrating custom User model
Django

7 min read


Dec 3, 2022

Migrate your Django monolith to microservices. The 1st step — preparation.

Hi there! Guess almost every developer had thought about dividing Django monolith on several smaller services, when you refactor, move code between applications in your project. Usually this thoughts end on Django’s models management, there is plenty of problems: how to move models without breaking migrations graph; how to hold…

Python

9 min read

Migrate your Django monolith to microservices. 1st step — preparation.
Migrate your Django monolith to microservices. 1st step — preparation.
Python

9 min read


Sep 15, 2021

Configure Postgres statement_timeout from within Django
364
1

Ketan Bhatt

Thanks for the article, but thereis one huge minus, especially if you have already have legacy code…

Thanks for the article, but thereis one huge minus, especially if you have already have legacy code - you must call QuerySet's using() method everywhere you need non default limits. It may lead to rewriting a lot of code. If your project is running in different environments (e.g inside several docker containers) the better way I guess is to separate "running mode" by environmental variable (RUNNING_MODE for example) and set it for every source: RUNNING_MODE=app|celery|cron|... . And get limit time looking on this env variable.

1 min read

1 min read

Darya Plotnikova

Darya Plotnikova

86 Followers

Backend software developer, python lover

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams