Firebase has its quirks. If you’re managing sessions, they can only stay active for an hour before you’ll need to re-fetch the database info, which can accumulate fast. I managed this by booting inactive users to prevent them from idling and refreshing automatically every hour.
Thanks so much for all the help. It seems like my code is quite inefficient. Being a beginner, I think it’s best to learn PostgreSQL on DigitalOcean with their $30 monthly plan. This way, I won’t waste time trying to get my code more efficient with caching since it’s just a personal project. Also, are there resources where I can find help for code snippets or assistance on specific functions? I’m open to paying—maybe Fiverr is a good option for that…
Don’t expect a real product to use any free tier services. You should be paying for your services just as you expect to be compensated for your work.
Bowie said:
Don’t expect a real product to use any free tier services. You should be paying for your services just as you expect to be compensated for your work.
It’s not just about not wanting to pay. If I do pay, I worry I’ll get charged excessively due to my data usage. With DigitalOcean, I’ll be paying, but I’m unsure if the performance will meet my needs.
Firebase? Go with Postgres or MySQL.