TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google Cloud Firestore NoSQL database is in GA

283 pointsby markoaover 6 years ago

25 comments

tpetryover 6 years ago
There is something i don‘t understand about Firestore: If you use the web client your javascript code is directly communicating with the firestore database, you have no control about some user specific limits. How do you prevent some rogue actor from effectively doing billions of reads or writes. With server side logic you can implement rate limits but not with a fire store web client. The only thing you can do is to limit your monthly budget? So one bad guy can burn all your money for a month without you having any possibility of limiting it?
评论 #19047986 未加载
评论 #19048159 未加载
评论 #19048709 未加载
评论 #19048970 未加载
评论 #19047872 未加载
评论 #19047748 未加载
seanwilsonover 6 years ago
For a subscription based Chrome extension (<a href="https:&#x2F;&#x2F;www.checkbot.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.checkbot.io&#x2F;</a>), I use Firestore, Firebase and Cloud Functions to handle subscription activation and login&#x2F;authentication. I use Paddle for payments which fires a web hook to a Cloud Function when a purchase is made.<p>Works great so far for no cost and it hasn&#x27;t required a single bug fix or any maintenance since launch. Firestore definitely has a lot of surprising caveats though and you need to design your app and data around this to avoid trouble later.<p>Does anyone have any stories to share about when they outgrew Firestore, what they migrated to and how? I wouldn&#x27;t be keen to use NoSQL if my data became more complex.
评论 #19047806 未加载
评论 #19047678 未加载
alanlammover 6 years ago
Paying Firestore user here.<p>1. Disappointing that it has gone to GA without providing proper search (after a long beta). Can anybody explain why a service run by the worlds #1 search company continues to point users to third party services if you want to implement a basic text search in a database? I genuinely don&#x27;t understand that.<p>2. Feature requests (or complaints) re backup, queries and documentation are not new. Nor are the answers (or excuses) we see here, which revolve around scalability and (until now) being in beta. BUT all users I have ever heard say they use the product for speed &amp; ease of setup &amp; convenience - for MVPs, not for massive googlesque data. It almost feels like the product market fit is not quite right. So, forgive my technical ignorance here, but worst case scenario, why not provide the features with the caveat that they are slow or expensive or won&#x27;t work above a certain size of db? Isn&#x27;t half a solution better than no solution?<p>The database and whole Google&#x2F;Firebase app suite thing has some strong points. But to be frank, and I&#x27;m sorry if I&#x27;m being dismissive of hard work and technical wonders here, from the perspective of a customer and outside observer, a number of things smell quite off.
评论 #19051504 未加载
评论 #19050564 未加载
评论 #19050440 未加载
sunsetMurkover 6 years ago
Been loving Firestore! It has been my first real experience w&#x2F; NoSQL in an MVP to production-ready quickly. It&#x27;s been SO easy to experiment with and learn. Community has been great.
评论 #19047702 未加载
nerdywordyover 6 years ago
Anyone with inside knowledge of Firestore care to comment on the ETA of more advanced query functionality?<p>We have played with Firestore quite a bit, but rely heavily on the ability to do aggregate queries. Reading all of the documents and performing this on the client side is nowhere near good enough. Nor is triggering functions to update a &quot;count&quot; or &quot;sum&quot; property on a doc.<p>Edit: Looks like a PM answered on another thread...<p>&quot;It&#x27;s a point of internal discussion on scalable ways to achieve this, but nothing we can promise. We definitely see the need for it.&quot;
评论 #19047587 未加载
评论 #19049996 未加载
评论 #19047215 未加载
itcmcgrathover 6 years ago
Product manager for Cloud Firestore here. We extremely grateful for all the amazing beta program customers and all the feedback they&#x27;ve given us.
评论 #19048833 未加载
评论 #19048259 未加载
评论 #19047977 未加载
评论 #19047605 未加载
评论 #19049499 未加载
评论 #19047049 未加载
评论 #19047913 未加载
评论 #19046938 未加载
评论 #19052586 未加载
评论 #19046999 未加载
评论 #19047965 未加载
评论 #19051076 未加载
评论 #19047138 未加载
_hardwaregeekover 6 years ago
Why isn&#x27;t there a hosted, easy to use relational version of Firestore? I&#x27;m using Firestore right now and it&#x27;s absolutely frustrating in the lack of relations, the lack of accumulation queries (COUNT, MAX, MIN) and in general the limitations of storing what&#x27;s essentially arbitrary JSON. How is it that to count the number of entries you either need to build in a counter on your own (which can cause race conditions because counters are hard) or manually go through the entire collection and count?<p>Another option would be a typed JSON db, essentially you could store JSON that corresponds to typed structs a la serde. Would&#x27;t solve a lot of my problems, but at least I&#x27;d have some built in validation.
评论 #19048160 未加载
评论 #19050093 未加载
评论 #19048007 未加载
评论 #19051801 未加载
评论 #19048248 未加载
EZ-Eover 6 years ago
Having heavily used Firebase Realtime Database (firestore&#x27;s ancestor), I think I will approach this one very carefully. Firebase Realtime Database was a nightmare with frequent downtime, sometimes minutes, occasionally an hour. Also almost weekly, all clients sometimes wouldn&#x27;t get notified of document changes which was crippling for our app.
评论 #19050552 未加载
评论 #19048048 未加载
评论 #19047950 未加载
评论 #19050070 未加载
SnacksOnAPlaneover 6 years ago
I still haven&#x27;t seen a great reason to go NoSQL over, say, Postgres. I&#x27;ll think about a good application but then realize that it&#x27;ll be a PITA to do something slightly different than what I first imagined.<p>What are good reasons to use NoSQL over SQL?
评论 #19048186 未加载
评论 #19048228 未加载
评论 #19053688 未加载
评论 #19048515 未加载
vira28over 6 years ago
&quot;More features coming soon. We&#x27;re working on adding some of the most requested features to Cloud Firestore from our developer community, such as querying for documents across collections&quot;<p>Looking forward to it. If this comes in, pretty much it removes the need for creating top level collections or am I missing anything?
bcheungover 6 years ago
I&#x27;ve been using Firestore in a React app and I love how it has simplified everything. There&#x27;s no need to have redux or even an in-memory store in the &quot;context&quot;. I just wrap my components with a withFSQuery helper and it automatically updates even when the state changes &quot;server-side&quot;.
评论 #19050941 未加载
TimMeadeover 6 years ago
We have been using it for over a year and this is good news. Hopefully a good product will move to a great one.
burtonatorover 6 years ago
A months ago I published a write-up of building our our cloud sync in Polar:<p><a href="https:&#x2F;&#x2F;getpolarized.io&#x2F;2019&#x2F;01&#x2F;03&#x2F;building-cloud-sync-on-google-firebase.html" rel="nofollow">https:&#x2F;&#x2F;getpolarized.io&#x2F;2019&#x2F;01&#x2F;03&#x2F;building-cloud-sync-on-go...</a><p>Polar is basically a document management and annotation platform. You put all your reading in it and maintain it long term along with annotations, highlights, etc.<p>Firestore is really nice in that you can target multiple-platforms pretty easily. There are SDKs for basically every platform.<p>It&#x27;s definitely not perfect but I&#x27;m pretty happy with the decision.
kylehotchkissover 6 years ago
Will there ever be support for aggregate queries? Or queries for non-existent values?<p>I have a rather large dataset that&#x27;s tough to scan over and I find the functions&#x2F;transactions to build my own aggregates not entirely accurate enough since a document has rate limits for writes.
评论 #19047168 未加载
评论 #19047350 未加载
评论 #19052373 未加载
ptaskerover 6 years ago
The issue we had with cloud Firestore is the inability to _really_ query documents through the Firebase console. It’s very basic and there is no third-party tooling available yet.<p>To run any kind of specific query you’d need to handle that application side. Just something to consider.
camdenlockover 6 years ago
This service feels pretty shoehorned into the rest of GCP. There are little connectors everywhere for Firestore specifically, and they don&#x27;t fit in cleanly with the rest of GCP offerings. Why is Google so bullish on this thing? I must not be seeing the appeal.
评论 #19048674 未加载
oyebennyover 6 years ago
In GA? Like the State?
评论 #19047799 未加载
评论 #19047809 未加载
alanlammover 6 years ago
curious: how big is the Firestore team? what about the team for the Firebase products as a whole?
manigandhamover 6 years ago
Will there be read-only replicas in other regions available in the future?
评论 #19047638 未加载
wahnfriedenover 6 years ago
Any notable companies&#x2F;products known to use Firestore in production?
评论 #19050224 未加载
评论 #19051534 未加载
评论 #19051550 未加载
XorNotover 6 years ago
So next up we&#x27;ll finally get an API for configuring firebase right?
评论 #19048968 未加载
fnayrover 6 years ago
I want to use Firestore in Unity. When???
nfRfqX5nover 6 years ago
any implications for regular old Firebase?
评论 #19047509 未加载
microcolonelover 6 years ago
I find the limitations of their query language interesting, no way to test for undefined properties in a collection (the client libraries just give up, and I don&#x27;t see a workaround); and no way to match on inequality rather than equality. This exists in some other odd database engines, but it&#x27;s frustrating in general use scenarios (where, in this case, I don&#x27;t exactly see how performance is a limiting factor).
fukshimeover 6 years ago
Be careful when storing data. Flat earth data could be deleted :) it violates community guidelines lol