Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does firestore support acid transactions?

Looking into firebase for running a "serverless" app, was curious to know how much of ACID does firestore support? there documentation has some information on transactions only but nothing more.

like image 260
Devices For Avatar asked Nov 01 '25 07:11

Devices For


1 Answers

Cloud Firestore supports multi-document ACID transactions. ACID in that the transactions are:

  • Atomic: All or none of the document mutations are applied
  • Consistent: No transaction will leave the DB in an inconsistent state
  • Isolated: Strict serializability, just like Google's Cloud Spanner
  • Durable: It's synchronously replicated across regions.
like image 168
Dan McGrath Avatar answered Nov 03 '25 04:11

Dan McGrath



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!