Giter Site home page Giter Site logo

Comments (1)

amansinghbais avatar amansinghbais commented on September 16, 2024

What is Firebase ?

Firebase is a Backend-as-a-Service (BaaS) app development platform that provides hosted backend services such as a realtime database, cloud storage, authentication, crash reporting, machine learning, remote configuration, and hosting for your static files.

Types of firebase databases: ----

1. Firestore

  • Cloud Firestore is the recommended enterprise-grade JSON-compatible document database, trusted by more than 250,000 developers. It's suitable for applications with rich data models requiring queryability, scalability, and high availability. It also offers low latency client synchronization and offline data access.

2. Realtime

  • Realtime Database is the classic Firebase JSON database. It's suitable for applications with simple data models requiring simple lookups and low-latency synchronization with limited scalability.

Database free tier limits

Realtime Database

  • Simultaneous connections : 100
  • GB stored : 1 GB
  • GB downloaded : 10 GB/month
  • Single database per project

Firebase Database

  • Stored Data : 1GiB total
  • Network egress : 10 GiB/month
  • Document writes : 20K writes/day
  • Document reads : 50K reads/day
  • Document deletes : 20K deletes/day

Firebase vs Realtime Database

Firebase

  • Stores database as a collection of documents. Suitable for complex / hierarchical data using subcollections within documents.
  • Suitable for complex queries. You can chain filters and combine filtering and sorting on a property in a single query.
  • Queries are indexed by default: Query performance is proportional to the size of your result set, not your dataset.
  • Scales completely automatically. Scaling limits are around 1 million concurrent connections and 10,000 writes/second.

Realtime

  • Stores data as one large JSON tree. Suitable for simple data as complex / hierarchical data is harder to organize at scale.
  • Suitable for simple queries. Queries can sort or filter on a property, but not both. Queries are deep by default: they always return the entire subtree.
  • Queries can access data at any granularity, down to individual leaf-node values in the JSON tree.
  • Queries don't require an index; however the performance of certain queries degrades as your dataset grows.
  • Scale to around 200,000 concurrent connections and 1,000 writes/second in a single database. Scaling beyond that requires sharding your data across multiple databases.

from dxp-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.