Image for post
Image for post
Image by Aphinya Dechalert. Titled: Read/Write Monster Feasting on Firebase Bill

How NOT to get a $30k bill from Firebase

the secret is in the architecture

Aphinya Dechalert
May 27, 2019 · 5 min read

Why did it go so wrong?

One of the biggest differences between Firebase and traditional cloud based databases is the pricing model. Amazon, Digital Ocean, Google Cloud, Microsoft Azure and all other providers uses a pay per hour model for instance based databases.

How to keep things under $25

When we use Firebase, we tend to only think about the database aspect of the service. However, Google provides a generous amount of cloud function invocations with the package. One could almost say they they are trying to encourage us to use it.

Image for post
Image for post
Image for post
Image for post

Rethinking the way you write your apps

It doesn’t really matter if you’re with Firebase or not. Hosting apps nowadays is cheap but databases in general can still be costly if not kept in check. Data is what makes an application and the connections, read and write requests are the things that happen the most when it comes to the traffic flow between different parts of the application.


Mad Hash*Map*

for the love of code enlightenment and clarification

Aphinya Dechalert

Written by

Going on an extended and indefinite Depth Year. On a journey towards authenticity. Connect with me linkedin.com/in/dechalert/ | dottedsquirrel.com

Mad Hash*Map*

Explained simply. Every time. All things code and making ideas happen. Publication by Aphinya Dechalert.

Aphinya Dechalert

Written by

Going on an extended and indefinite Depth Year. On a journey towards authenticity. Connect with me linkedin.com/in/dechalert/ | dottedsquirrel.com

Mad Hash*Map*

Explained simply. Every time. All things code and making ideas happen. Publication by Aphinya Dechalert.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store