I come from SQL background, so Firebase is pretty big shift for me. My most recent project requires me to consider only useing Firebase for data and file storing.
The project is a social messaging app that has already up to 100K registered users.
My concern is, can Firebase fully substitute SQL? Features that I find problematic:
- Filtering millions of messages for specific keywords (language moderation)
- Allowing users to block each other (should take effect immediately both ways)
- Remotely logging-out users from unwanted devices
- Monitoring daily statistics (how many likes, messages, users appeared which day)
- Filtering users by various attributes (name, distance, gender, age)
I want to avoid situation 2 years down the line, when 50 million messages have been sent and suddenly a bad-language filter needs to be put in place. Now what.
In SQL I would run
delete from messages where content like "%bad-word%"
5 minutes later, done.
So my question is, can Firebase fully substitute SQL?