Live data from Hacker News

Cloud Firestore: A New Document Database for Apps

firebase.googleblog.com

41–50 of 174 posts

Re: Cloud Firestore: A New Document Database for Apps

#42
post #2

[Firebase founder] This new database has been in the works for 2.5 years, since shortly after we joined Google. It was developed in close collaboration with the Cloud Datastore[1] team, and uses Google’s core database infrastructure. We built it because we know it can be challenging to build complex apps with our original database -- Firebase Realtime Database -- where we optimized for ease-of-use & real-time sync ov…

Do you have a rough timeline on beta => General Availability?

Re: Cloud Firestore: A New Document Database for Apps

#43
post #40

Sounds interesting, but is there any independent description of what it cannot do, or what would be hard to do? I just noticed it's much easier to understand a new datastore by reading its limitations (usually carefully omitted from pr articles or documentation). For example, I suspect that Firestore must be built on top of Spanner infrastructure, as it's the only way to get usable cross-datacenter many-row transacti…

We try to be honest about what the product can't do natively and provide best practices, take a look at the "solutions" section of the documentation: https://firebase.google.com/docs/firestore/solutions/

For example Cloud Firestore can't do native full text search, but we made sure it's easy to integrate with a search provider like Algolia.

As for your guess about Spanner, you're right that Cloud Firestore uses the same technology as Cloud Spanner to ensure consistency at scale.

Would love to know what you think about the product once you've tried it!

Re: Cloud Firestore: A New Document Database for Apps

#44
post #2

[Firebase founder] This new database has been in the works for 2.5 years, since shortly after we joined Google. It was developed in close collaboration with the Cloud Datastore[1] team, and uses Google’s core database infrastructure. We built it because we know it can be challenging to build complex apps with our original database -- Firebase Realtime Database -- where we optimized for ease-of-use & real-time sync ov…

Do you see this as an equivalent to Dynamodb ?

Very timely ;)

Re: Cloud Firestore: A New Document Database for Apps

#45
post #24
post #21

Earlier quoted context omitted.

What's your story on ACID, particularly on transactions? Transactions: If I want to insert 2 documents, but zero if either fails, what does that look like with Firestore? And if I store a document and run a query milliseconds later, will the query include document I just stored? Or are queries eventually consistent?

Cloud Firestore has support for transactions: https://firebase.google.com/docs/firestore/manage-data/updat... So yes, if any of the operations in the transaction fails (and cannot be retried) the whole transaction will fail. It's atomic as you'd expect. If you've ever used transactions in Firebase Realtime Database you'll be happy to know that the transactions in Cloud Firestore are much easier to use since they don'…

How do you deal with consistency in the offline case? E.g. If I make a bunch of edits while disconnected, and others have made edits while connected, how are the conflicts resolved?

Re: Cloud Firestore: A New Document Database for Apps

#47

Will GeoFire remain solely on RTDB?

Cloud Firestore has native support for the "GeoPoint" data type and will eventually have support for native geo queries without any external library.

For this reason we are not going to invest in making a GeoFire library for Cloud Firestore and spend that effort getting the native functionality ready.

Re: Cloud Firestore: A New Document Database for Apps

#48
post #2

[Firebase founder] This new database has been in the works for 2.5 years, since shortly after we joined Google. It was developed in close collaboration with the Cloud Datastore[1] team, and uses Google’s core database infrastructure. We built it because we know it can be challenging to build complex apps with our original database -- Firebase Realtime Database -- where we optimized for ease-of-use & real-time sync ov…

Do you have a rough timeline on beta => General Availability?

Nothing we can share at this time. Really looking forward to the feedback we get now we're in beta as this will feed into our GA plans.

Re: Cloud Firestore: A New Document Database for Apps

#50
post #22

I’m still looking for a product that provides firebase-levels of ease of getting up and running (no API to design, rule-based authentication, etc) , but runs on your own infrastructure, off of a traditional RDBMS. Someone tell me they’ve found the holy grail?!

If such a project were based on top of an RDBMS, would you still expect a document/KV-oriented API, or one more SQL-ish?
Post reply on HN