Closed
Description
I'm facing some difficulties with updating counters.
I'm developing a "social networking" application, this is my first application.
In the scenario, we have the following situation:
User X has 300 followers.
User Y will in turn follow user X, then I will go to the Follows counter of user X and increase by 1, user X happens to have 301 followers now, and I also go to user Y who has followed up, and increased your following counter at 1.
The problem lies in, if user X, resolves to delete your account, I will have to make 301 calls, for each of the followers of user X, and decrease the following counter of all those users at -1, That is the way correct to do this?
-Sorry my english, i'm using translator
Metadata
Metadata
Assignees
Labels
No labels