Why should you use Firebase as your primary architecture ?

Surahutomo Aziz Pradana
4 min readJul 31, 2022

--

Background

What’s new in Firebase 2022

Firebase is the most reliable architecture provider that you can use for your product, that has been used by more than 3 Million companies worldwide.

And its popularity and adoption level is also increasing from time to time!

Until last year 2021, The market has been increasing until reached more than 7.5 Billion USD until 2021.

So, as we knew that most of the architecture that has been implemented to most of the companies, more or less was like on the diagram below.

Yes, they used microservice type architecture where each microservice will cost a new server on different container, this microservice architecture is usually implemented on large scale product on large scale company, now if we try to calculate the cost for each microservices, as you can see it will cost approximately 1500 USD / month for 10 microservices, where each microservice usage might not be optimum! because it depends on how many features and the traffic that involving the microservice itself, means there will be a case where you will waste the money that has been used for the server!

Now if we compare it with Firebase cost as what the picture shows below

As you can see, almost all of them are free ! no cost ! so even you use pay as you go for trying your production performance of your app or web, you will still not charged yet! Just imagine.

“Simple, Quick, Easy, Powerful and Free”!

For more detailed cost, you can visit it on this page!

In Firebase Plan, there are 2 plans that you can choose :

Spark Plan (Free)
This is a plan where you definitely can use Firebase for free with limited features, which is still a good one for trying and learning firebase first.

Blaze Plan (Pay as you go)
This is a plan where you will have a flexible cost with simple setup and optimum performance!
For low-medium usage it is free! and once the usage has been reached a certain amount, you will only be charged of how many traffic or usage that your product is using, which is still so fair!
For average uses for low-mid level company, it will cost around 10 USD / month with easy and fast architecture setup that will only took 2–3 days!
But why it is so cheap ? because we only pay for the function, not the whole server, Google handle the servers and let us pay only for the function, which is a win-win solution!

Which both of the plans are definitely a good choice!

An additional information, if you are a Hackathon Wrestler or someone who wants to win some competition, building a product with rich features and short development time like just a day, Firebase is no.1 choice!

These are my hackathon projects in Devpost that has been selected as the Winner, that using Firebase as the architecture :
- Gotour VR
https://devpost.com/software/gotour-vr
- Covictory AR
https://devpost.com/software/covictory-ar
- XStream XR
https://devpost.com/software/xstream-xr
and many more actually!

Comparison

Microservices
Development time : 1 microservice with around 2 weeks development
Manpower allocation : at least 1 person to manage and handle 1 microservice and 1 manpower to develop the features
Cost : Approximately 150 USD /month

Firebase
Development time : Integration with firebase that only took 15 mins
Manpower allocation : at least 1 person to handle 15 mins integration with features ready to be integrated with 1 click
Cost : Approximately 10 USD / month

So, what are you waiting for ? visit Firebase Documentation to know how to use it and let’s see what Firebase can do for you!

--

--

Surahutomo Aziz Pradana

Google Developer Expert - Firebase, Co-Lead GDG Jakarta, GDSC Lead PENS, Engineering Manager, AR/VR Tech Lead, Fullstack Engineer