4 ms·
Two reasons I use Firebase for my app (although with an admittedly trivial schema/data): a) I have a thousand things to do that are higher priority than config
by nmfisher 6y ago
Two reasons I use Firebase for my app (although with an admittedly trivial schema/data):
a) I have a thousand things to do that are higher priority than configuring/hosting a Postgres server.
b) Integration with Firebase Auth is a godsend.
I doubt people choose Firebase for technical or scaling reasons. More likely they choose it because it's trivial to integrate, so you can spend the limited hours you have in each day on more important (customer-facing) work.
- fomine3 6y agoa) You can choose managed PostgreSQL services. b) Fine but it's too small reason to choose database for serious service, isn't it?
- nicoburns 6y agoPostgres is also trivially integrated with firebase auth. There's a method in the client SDK which gives you a token you can send with API requests. And a method in the admin SDK that you can use to validate the token and resolve it to a user id.
- cultofmetatron 6y agohttps://aws.amazon.com/rds/aurora/?aurora-whats-new.sort-by=item.additionalFields.postDateTime&aurora-whats-new.sort-order=desc https://aws.amazon.com/rds/aurora/?aurora-whats-new.sort-by=... https://www.heroku.com/postgres https://www.heroku.com/postgres https://cloud.google.com/sql/docs/postgres/ https://cloud.google.com/sql/docs/postgres/ With all due respect, " they choose it because it's trivial to integrate" is a terrible reason for choosing a technology. Anyone choosing a database should be doing so based on the following. 1. does the insertion and querying mechanisms support the requirements of my app? 2. is it scalable? (ie first few thousand users, beyond that and any tech you pick is going to run into issues without a dedicated strategy) 3. can I afford it? (in terms of maintenance as well as licensing) Postgres (and mysql) has plenty of standard tooling for integrating into your app and is no where near as limited. I would not take an engineer proposing firebase without making a STRONG logical case for why its the best choice as someone who's graduated out of junior status. Then again, fixing messes caused by such engineers for several startups that started with firebase because its the easiest to get started with PAID for my galavanting around southeast Asia last year so I won't wag my finger too hard.