Needs advice

I have been using Firebase with almost all my web projects as well as SwiftUI projects. I use it for the database as well as the user authentication via Google.

Is it good enough?? I have learned MySQL but I'm not that comfortable…

So for user authentication and database should I keep using firebase or switch to MySQL or MongoDB?? Or any other combination?

5 upvotes·49K views
Replies (3)

Doing User authentication (oauth) and session management by ourself is kind a challenging, so if possible use firebase itself since it provides these features out of the box.

2 upvotes·1 comment·29.3K views
saarthak tuli
saarthak tuli
May 27th 2022 at 4:18AM

Hey thank you for the advice… I’ll surely continue to use that… but as for database management Like the collection system in firebase is a little hard to implement for large scale apps where I need multiple databases … so should I use MySQL or MongoDB or can I do something similar in firebase??

New Technologies Developer at Inteliksa·


I’m not an expert, but I can tell you some things:

  • Firebase is a great option for a very simple to implement, fast and reliable authentication method. Nonetheless, the free authentications are limited, so if you will potentially have millions of monthly authentications, it’s probably best to take the time to build it into your app directly.
  • MySQL is great for simple tables where the data structures are not too complex, but it lacks some speed when you are trying to retrieve time data series. Also, I believe it’s a bit more difficult to distribute.
  • MongoDB is great when your information is a bit more complex and you need very peculiar data structures, nested data, dynamic structures, etc. For me at least, it’s a bit more complex to master than MySQL, but the freedom it gives you is incredible. It also performs super fast, especially with time data series, and if I’m not wrong, it’s more scalable.

In general, almost all technologies have their good things, it’s just a matter of what you want to do and then choosing the right ones.

Chuy Flores | Linktree (
4 upvotes·1 comment·46.1K views
saarthak tuli
saarthak tuli
May 28th 2022 at 4:41AM

I understood it… so I’ll use it according to my needs.

Thank you so much !!

View all (3)
Avatar of Swastik Gowda