How to avoid Firebase Cloud Functions invocations?
I have a Firestore collection called "documents": db documents $documentId I have created a cloud function that fires each time a new document is added/deleted. This function increments/decrements a number in the real-time database at: db documents $documentId: 10,000 My…