Last blog I have talked about the problem of database lockup but how can we solve it? Shared Tables: Shared Tables could be a easy to go and a dirty solution that is very common. But be aware that it is high maintenance. Using mysql […]
Tag: database
Simple trick that can can help us to achieve Zero Downtime when dealing with DB migration
Currently we are dealing with quite a few deployment processes. For a company that enables DevOps culture, deployment happens many many times a day. Tiny fraction of code change goes to deployment, and as the change size is so small it gets easier to spot […]
Dealing with mandatory ForiegnkeyField for fields that is not in django rest framework serializers
Although I am big fan of django rest framework but sometime i feel it is gruesome to deal with nested serializers (Maybe I am doing something wrong, feel free to suggest me your favourite trick.) Suppose we have two models, ASerializer is based on A […]