Need advice about which tool to choose?Ask the StackShare community!
Firebase Hosting vs Heroku: What are the differences?
Developers describe Firebase Hosting as "Production-grade web content hosting". It is production-grade web content hosting for developers. With a single command, you can quickly deploy web apps and serve both static and dynamic content to a global CDN (content delivery network). You can also pair it with Cloud Functions or Cloud Run to build and host microservices. On the other hand, Heroku is detailed as "Build, deliver, monitor and scale web apps and APIs with a trail blazing developer experience". Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.
Firebase Hosting belongs to "Static Web Hosting" category of the tech stack, while Heroku can be primarily classified under "Platform as a Service".
According to the StackShare community, Heroku has a broader approval, being mentioned in 1883 company stacks & 5306 developers stacks; compared to Firebase Hosting, which is listed in 12 company stacks and 6 developer stacks.
React
:
1. Constantly being developed.
2. One of the top 3 commonly used front-end frameworks.
3. Fits the team’s skills.
Python
:
1. Very common for ML/Data Science work.
2. Can easily build a web server and a ML pipeline in the same application.
3. One of the most commonly used languages, will be great for recruiting developers in the future.
Heroku
:
Firebase Hosting is static, and thereby does not allow Python jobs to run. Since these are batch jobs that run more infrequently and do not directly face the user, Heroku is a great fit considering the free tier offers all the features we need.
Flask
:
1. Easy to set up, does not have too much boilerplate code.
2. Our API will be very simple so we chose Flask over Django, which has MVC features that we don’t need.
Firebase Hosting
:
1. We will use Firebase Hosting for our React client's server since it needs to be up all the time as opposed to hibernating (e.g. like in Heroku)
2. It includes a CDN for free, out of the box, so it would help with performance.
Pros of Firebase Hosting
- Integration with firebase4
- Analytics1
- Super simple deploys1
- Easy deployment1
Pros of Heroku
- Easy deployment704
- Free for side projects459
- Huge time-saver374
- Simple scaling348
- Low devops skills required261
- Easy setup190
- Add-ons for almost everything174
- Beginner friendly153
- Better for startups150
- Low learning curve133
- Postgres hosting48
- Easy to add collaborators41
- Faster development30
- Awesome documentation24
- Simple rollback19
- Focus on product, not deployment19
- Natural companion for rails development15
- Easy integration15
- Great customer support12
- GitHub integration8
- Painless & well documented6
- No-ops6
- I love that they make it free to launch a side project4
- Free4
- Great UI3
- Just works3
- PostgreSQL forking and following2
- MySQL extension2
- Security1
- Able to host stuff good like Discord Bot1
- Sec0
Sign up to add or upvote prosMake informed product decisions
Cons of Firebase Hosting
Cons of Heroku
- Super expensive24
- Not a whole lot of flexibility7
- No usable MySQL option5
- Storage5
- Low performance on free tier4
- 24/7 support is $1,000 per month1