@chris.raroque: MISTAKE NO. 3/10 ✶ I chose the wrong database for my app 🥲 The number that made me regret Firebase wasn’t $115… It was 74 million. That’s how many database reads Ellie made in one 30-day window, even though fewer than 3,000 people used it each day. The video simplifies this a little, so here’s the nuance: Cloud Firestore is Firebase’s NoSQL document database. It scales automatically, and its real-time and offline support and flexible document model helped me ship Ellie quickly. But Ellie’s data became extremely connected. One task can belong to a list, have multiple labels, repeat on a schedule, be shared with someone, and connect to calendar data. In my current Firestore setup, those pieces live in separate documents and several live listeners keep them updated. Pulling everything together means lots of document reads, and Firestore charges for each one. My July Firestore read charges were $115.26. That isn’t catastrophic. The read count was the red flag 👀 If I rebuilt Ellie today, I’d probably start with Postgres through Supabase or Convex. A relational database is a more natural fit for heavily connected data because it can represent those relationships directly and combine related rows in one query. That doesn’t mean Firebase is bad or that NoSQL is always inefficient. I could probably improve my existing setup by restructuring documents, caching more, and reducing listeners. I also haven’t migrated Ellie, so I can’t honestly promise the exact savings. My mistake was choosing a database before I understood the questions my app would need to ask. My new rule: write down the five things your app will query most often before choosing a database. If those queries constantly combine connected data, seriously evaluate SQL. If real-time and offline sync are the product, Firestore may still be a great fit. Next mistake: I let my AI bill reach $700 before optimizing it 🥲 #softwaredeveloper #coding #appdevelopment
Chris Raroque
Region: US
Saturday 22 August 2026 19:29:30 GMT
Music
Download
Comments
Kimchi_ :
Next video: Why Supabase was a mistake. 😂😂😂
2026-08-23 13:33:55
153
Mauro Gashfix :
For the price you'd spend, you could get a VPS and have your database running smoothly; a $10-20 plan would solve your problems infinitely.
2026-08-23 01:58:31
116
Oscar :
Why didn’t you just use postgresql?
2026-08-23 15:39:44
19
Next Deals UK :
self hosted postgres on the VPS, free DB and unlimited, yes you can get a free VPS
2026-08-22 21:23:03
53
Nemo's dad :
how about for a website that's only good for visiting company information with only email services? Is firebase decent enough?
2026-08-25 13:41:36
0
Hot Pringles 🍂 🍁 :
hey, who can build an app like opal for me , budget is $200 to $500 . both ios and android
2026-09-01 16:18:03
1
Software engineer :
vps cost 10$ a month and host a private postgresql
2026-08-30 22:13:30
1
404 :
Use MongoDB atlas + your own backend
2026-08-23 08:29:17
8
M. Salim Zaki :
Bro! Don’t pay for database! If you’re using an agent to help you craft the app, well you should definitely use postgresql for big data base mixed up with litesql for small non relational data base! They, host your app on AWS and only pay for that instead of being crushed under multiple subscriptions
2026-08-23 04:21:20
8
vem bryr sig :
I've found that its a safer bet to assume that a relational db will always be better than a document db. you'd need to find a serious justification for me to even consider a document db
2026-08-23 04:38:34
5
Tilt Cardamone :
why not simply a postgresql ?
2026-08-22 23:00:01
2
J :
This is why you don’t use “Backend as a service”. Build your own. I use Go for my backend with Better Auth + Postgres and redis. Super fast, super cheap.
2026-08-22 20:58:16
7
Ellie 🖕💕 :
You made me into an app? :(
2026-08-25 07:38:32
1
bryanthedev :
Why not restructure your data?
2026-08-22 21:59:39
1
fiyinBenjamin | Mobile Dev :
thanks why I stopped using firebase 😅
2026-08-25 01:16:57
1
servant of God :
I still use sql 😂
2026-08-24 09:31:21
1
sonora :
can‘t you just cache all those reads on the device? I have over 30k monthly users and thanks to optimizing all data reads using cache on the device I‘m down to 0.3$ monthly costs with firebase 😅
2026-08-23 07:07:00
17
phara_el :
same mistake but with Supabase and their very low image transformation limit. Don't know what to do 😕
2026-08-22 21:25:42
1
r1veRRRRRRR :
always start with PostgreSQL. it can do anything decently, and most things really well. by the time you need specialized DBs, you've grown enough to afford it.
2026-08-23 08:57:38
11
Geto007 :
You could use Firebase just for storing records, keeping usage low. For fetching, use getById so you render only the needed item instead of the whole list. For files, Cloudflare R2 gives you 10GB/month, which can also help minimize costs.
2026-08-22 20:11:20
8
سحر | كيف أدير مالي :
What’s the best and most affordable and secure option for database?
2026-08-22 21:48:19
1
Paolo :
I used Neon 😘😘😘
2026-08-25 07:30:00
2
AjPra1985 :
which is the best platform to build native app with no code.
2026-08-23 04:05:18
1
JJ :
just use postgres for everything
2026-08-25 00:28:22
3
TAHA SAMBA💛 :
Supabase💯
2026-08-24 06:15:55
1
To see more videos from user @chris.raroque, please go to the Tikwm
homepage.