I recently started working with cloud code for my social iOS app, in my Parse Server which is deployed in a Digital Ocean droplet.
Now, what I want to know is, whether using too much cloud functions instead of native swift, is good practise or not. So far, i'm using cloud functions for liking/unliking photos, posting/deleting comments and following/unfollowing people. Now, I'm considering to put the feed content retrieval into the cloud as well.
In addition I'm using some triggers too. For example when a photo is deleted, it goes in the "afterDelete" function and deletes all notifications/likes/comments associated to that photo.
So, that's what I want to know. Should I reduce the amount of cloud code I'm using, or maximise it?