D
D
Denioo2020-06-02 12:34:12
Web development
Denioo, 2020-06-02 12:34:12

Firebase for a big project?

Hello everyone, we are going to write a project as a team, and we are thinking of writing a server ourselves on node + monga, or using firebase. I want to know some firebase points:

  1. If the application shoots, then how does it cope with high loads? We are going to use React, React.native for mobile.
  2. Will it be expensive to pay if successful?
  3. Should I write an api to interact with firebase?
  4. And how is it generally okay to use the react + firebase bundle?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Korotenko, 2020-06-02
@firedragon

The price tag is on their page, but it’s better to put it in the interfaces so that you can change it later.

R
Robur, 2020-06-02
@Robur

1. most likely it will cope no worse than your server on the node + mongo. Well, at least until there are hundreds of thousands of active users.
2. There are prices on their page. the amount of supposed "luck" you should be able to determine
3. there is an sdk. +http api. there is no need to "write" something there
4. normal.

A
Arthur, 2020-06-04
@ArthurG

Hello.
Comparing Firebase and your server is incorrect. Firebase is a set of distributed services. It is more correct to compare with your own server clusters on the node and mongo clusters.

  1. The load will withstand if you made the appropriate decisions. For example, firestore is initially designed for a large load, and realtime database for fast response - to distribute the load, you will need to perform sharding on your own;
  2. Depends on your decisions;
  3. It makes sense to separate the code working with firebase into a separate module. Writing your own rest server is not.
  4. Yes, good.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question