@julian yup, I definitely agree! It's why I started searching for a way to integrate NodeBB with Firestore. I bought a domain + server last night and deployed NodeBB so I can learn and play around with it. Based on the example DB adapter PR posted above, I think it's doable.
justmeow
Posts
-
Google Firestore DBAL ? -
New theme for this forumNice! It's been smooth and haven't run into anything major. Don't know if it's because of this change, but the read and write API links work now
-
Google Firestore DBAL ?Started a draft PR in case anyone else can/wants to help work on it https://github.com/NodeBB/NodeBB/pull/10051
-
Google Firestore DBAL ?@julian sorry for the late response, I didn't think to check this again. Firestore offers ways to reduce the cost and total number of operations, but there are a few caveats. Here's their recommended optimization solution https://firebase.googleblog.com/2021/04/firestore-supports-data-bundles.html
Data bundles just means exporting data to a json format, store it in a cache, and serve the data from the cache. This does reduce the number of operations, but defeats the purpose of firestore.
You'll have to handle the authentication process and can imagine the problem. I'd much rather pay for a database, FYI already did.
Firestore offers other methods to optimize usage like subscriptions, compound queries...etc. After taking all of this into account, firestore became extremely unattractive.
To your question about the next tier, I'll need to take a look, but my gut feeling tells me that this isn't sustainable for large scale.