95% of my application expenses are related to recording operations. Over the past few days I have paid $ 150. And I would not consider the amount of data that would be so huge.
At first I suspected that there might be many write operations due to the explosion of indexes, but I read that this situation usually occurs when you have two list properties in the same model. But at the design stage of the model, they were limited to 1 per maximum model.
I also tried going through my models and passing indexed = False to all the properties that I would not need to order or filter.
Another thing that I will need to disclose about my application is that I have related write operations in the sense that there are some objects that, when they need to be saved, I usually call a proxy function that stores this object and its derivative. Not in a transactional way, since it does not matter much if recording fails from time to time. But in fact, I do not see the path associated with the logic of how these models are related.
Therefore, I really want to hear that someone else ran into this problem and what approach / tools / etc. they followed to solve this problem. Or, if there are only some general things that can be done.
source share