We are using Firebase for an Mobile APP. We have thousands of users.
Expected to hit 100 thousand.
We are having a portal to configure data to be shown to the user.
Based on user input we need to manipulate lot of data.
Currently we are using a flag for each user for which we are having on() listener. So we are going to have thousands of listeners.
These listeners are handled from a Node JS server hosted on Heroku.
Earlier we used Parse and we had Parse cloud code to manipulate Parse Core DB on cloud code call.
But in Firebase we will eventually need to create a REST API which will do the job for us instead of having 100 thousands listeners for 100 thousand users.
But then we will need to have rewrite network code on the APP side for rest API call which is currently handled by Firebase library for which we had gone with Firebase in the fir