I am developing Django app, which will be used by 100 of users to post comments. For each comment I can't do Model.save()
which commits database and not scalable. I want to commit database periodically using celery. Is there any way to do this?
I checked transaction management in django, but I didn't get any pointers. Please help me.
I want to commit manually after saving many models and this should be restricted only for few models. For user creation, I want to save and commit immediately. Only for posts I want to commit periodically.