Akshay Nihalaney

That helps a lot! Thanks Akshay. I now understand the criteria I should use to decide between interacting between Firebase directly and through Functions.

Only for functionalities where there is no need for offline capability and cases where business logic is too complex, I shall use Functions. Everything else can go to Firebase Db directly to leverage its real-time capabilities.