Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Firebase an all-purpose database?

I've been reading about Firebase and playing with it for a short while. The idea (BAAS) and implementation are impressive, and having programmed with Javascript it seems a viable choice. Not having to deal with scaling and other server side concerns makes it even more attractive.

My question is: generally speaking, is Firebase a first class back-end candidate for any average data-based application? e.g. billing, CRM, e-commerce, social, location based, etc. I do not include super light or heavy extremes such as a basic chat, or a nuclear plant monitor...

The answer may not be a clear yes/no, but was it built to support the general application space, or just stand out as a real-time read/write data service?

Would appreciate answers based on experience and existing production applications.

Thanks

like image 456
Benny Avatar asked Sep 23 '13 06:09

Benny


People also ask

What type of database is Firebase?

The Firebase Realtime Database is a cloud-hosted NoSQL database that lets you store and sync data between your users in realtime.

How is Firebase different from other databases?

Firebase uses NoSQL; MySQL uses SQL. Firebase is horizontally scalable; MySQL is vertically scalable. Firebase uses key-value, wide-column, graph, or document stores; MySQL is table-based. Firebase has dynamic schemas to facilitate unstructured data; MySQL has predefined schemas.

Is Firebase a backend or database?

The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client.

Why is Firebase better than other databases?

Firebase offers you features such as analytics, databases, communication, crashes notification and etc. It allows you to move and concentrate on your customers. Firebase is designed and scaled on Google resources, even with the largest apps. Firebase products run well with Android and iOS.


3 Answers

Yes, Firebase is intended to be a first class back-end for any data based Web, iOS or Android application. The service offers real-time data reads and writes, but also comes with a powerful and flexible security system that allows you to write secure client-only apps, without needing any server code to enforce data boundaries.

There are several apps in production listed on the front page as customer and on the app showcase page on https://firebase.google.com/customers/

like image 149
Anant Avatar answered Nov 06 '22 08:11

Anant


Firebase is now more capable and is considered as a full stand-alone back-end, especially after the introduction of cloud function. https://firebase.google.com/docs/functions/

like image 29
Abdulaziz Alaboudi Avatar answered Nov 06 '22 07:11

Abdulaziz Alaboudi


Firebase may not have support for transaction spanning multiple business objects. e.g. When a sales order is booked then it needs to update inventory for multiple items, update billing in receivables, give sales credit to multiple sales persons etc. Firebase team is supposed to come up with a database trigger option which will make all these happen.

like image 2
Arup Saha Avatar answered Nov 06 '22 08:11

Arup Saha