How can I optimize my Cloud Function to react to Firestore document status changes more efficiently?
How can I optimize my Cloud Function to react to Firestore document status changes more efficiently? Is there a way to make this process event-driven rather than using periodic checks? I’m looking for a method that minimizes Firestore reads/writes and reduces the latency and costs associated with polling.
Imagine that I launch a program and two processes are initiated: