Cloud Functions for Firebase

Cloud Functions for Firebase

Application and Data / Application Hosting / Serverless / Task Processing

I am building a platform for a health provider using Vue.js with Cloud Firestore and Cloud Functions for Firebase. Some of the app features are: Video chat, Chat 1 to 1 Payment - using Stripe Mange clients - CRM

I am debating whether to stay with Cloud Firestore and Cloud Functions for Firebase as my backend (using ExpressJS) I built it in a way that will be easy to change to Rest API with other DB, but not sure if I want to keep using Firestore

READ MORE
5 upvotes·39.6K views
Replies (1)

Looking at your needs I can't find any reason to move from Firestore, if you're already using it. Could you describe possible things you have concerns over? In any case, using a cloud-based datastore (like Firestore or DynamoDB (AWS, though)) let you avoid running and maintaining your own database server(s). I would consider Firestore and cloud functions a bit of a sweet-spot, actually. The only thing you cannot do in a cloud function vs. a running server is cron jobs or other long-running maintenance taks or tasks needed to be done at certain intervals. but Google has a service that calls urls (as, for exaple cloud functions), so it can be solved that way instead.

READ MORE
6 upvotes·1.4K views
Avatar of PicoCreator
CTO at Uilicious·

For inboxkitten.com, an opensource disposable email service;

We migrated our serverless workload from Cloud Functions for Firebase to CloudFlare workers, taking advantage of the lower cost and faster-performing edge computing of Cloudflare network. Made possible due to our extremely low CPU and RAM overhead of our serverless functions.

If I were to summarize the limitation of Cloudflare (as oppose to firebase/gcp functions), it would be ...

  1. <5ms CPU time limit
  2. Incompatible with express.js
  3. one script limitation per domain

Limitations our workload is able to conform with (YMMV)

For hosting of static files, we migrated from Firebase to CommonsHost

More details on the trade-off in between both serverless providers is in the article

READ MORE
Why we migrated opensource 😼inboxkitten (77 million serverless request) from 🔥Firebase to ☁️Cloudflare workers & 🐑CommonsHost - DEV Community 👩‍💻👨‍💻 (dev.to)
14 upvotes·581.2K views