title: An Alternative for Firebase functions ? Is it okay to run them on a VM?
body: <p>I am using firebase functions for an Uberlike product. I can't get expected performance. Specially it takes a long time to load data from realtime-db. Up to 2-3 seconds for a read.
  It's may be due to called start, which is discussed here. => <a href="https://stackoverflow.com/questions/43637519/why-is-cloud-functions-for-firebase-taking-25-seconds">Why is Cloud Functions for Firebase taking 25 seconds?</a></p>
  
  <p>So I decided to move the functionality of these functions to a VM instance. Using firebase <code>onWrite</code> and admin SDK, a similar functionality can be achieved on a virtual machine. </p>
  
  <p>Is it okay to do so? Will I get any scalability issue?</p>