Firestore in Datastore mode
Datastore entity API served by Firestore with strongly consistent queries.
- Provider
- gcp
- Kind
- NoSQL database
- Category
- Data
- Also known as
- Cloud Datastore
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| backupEnabled | boolean | — | no | false | ▸ false |
| backupRetentionDays | integer | — | no | — | inherited |
| bucketing | boolean | — | no | false | inherited |
| conflictResolution | enum | none | last-writer-wins | vector-clock | app-merge | no | — | ▸ none |
| consistency | enum | eventual | tunable | strong | no | eventual | ▸ strong |
| encryptionAtRest | boolean | — | no | false | ▸ true |
| instances | integer | — | no | — | inherited |
| locationType | enum | region | multi-region | no | region | inherited |
| managed | boolean | — | no | false | ▸ true |
| model | enum | key-value | wide-column | document | yes | — | ▸ document |
| partitionKey | string | — | no | — | inherited |
| pointInTimeRecovery | boolean | — | no | false | inherited |
| quorumReads | integer | — | no | — | inherited |
| quorumWrites | integer | — | no | — | inherited |
| replication | enum | single-region | multi-region-single-leader | multi-region-multi-leader | leaderless | no | single-region | ▸ single-region |
| replicationFactor | integer | — | no | — | inherited |
| tombstoneTtlDays | integer | — | no | — | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
multi-leader-store-without-conflict-policy
Multi-leader replication accepts concurrent writes in several regions. With no conflict resolution policy declared, divergent replicas are reconciled by accident rather than by design.
- — all of these hold:
- — the node's `replication` is "multi-region-multi-leader"
- — any of these hold:
- — the node's `conflictResolution` has no value
- — the node's `conflictResolution` is "none"
read-heavy-path-without-cache
The design states a read-heavy workload and application servers read this datastore directly, yet the design has no cache anywhere. Every read pays a database round trip.
- — all of these hold:
- — the design requirement `traffic.readWriteRatio` is a number greater than 10
- — the node has at least one synchronous incoming edge from an app-server
- — this does not hold:
- — the design contains a node of kind cache
nodes:
- { id: "firestore-datastore-mode", component: "google-firestore-datastore-mode" }ApsaraDB for HBasealibaba-apsaradb-hbaseApsaraDB for MongoDBalibaba-apsaradb-mongodbLindormalibaba-lindormTablestorealibaba-tablestoreAmazon CloudFront KeyValueStoreaws-cloudfront-keyvaluestoreAmazon Cognito Syncaws-cognito-syncAmazon DocumentDBaws-documentdbAWS HealthLakeaws-healthlakeAmazon Keyspaces (for Apache Cassandra)aws-keyspacesAmazon DynamoDBdynamodbAzure Cosmos DBazure-cosmos-dbAzure DocumentDBazure-documentdbAzure Health Data Servicesazure-health-data-servicesAzure Managed Instance for Apache Cassandraazure-managed-cassandraAzure Table Storageazure-table-storageWorkers KVcloudflare-workers-kvApache AccumuloaccumuloAerospike DatabaseaerospikeApache CassandracassandraCouchbasecouchbaseApache CouchDBcouchdbDataStax Enterprisedatastax-enterpriseFoundationDBfoundationdbApache HBasehbaseMarkLogic ServermarklogicMongoDBmongodbMongoDB Atlasmongodb-atlasGeneric NoSQL databasenosql-databaseNoSQL storenosql-storeOrientDBorientdbRavenDBravendbRethinkDBrethinkdbRiak KVriakScyllaDBscylladbTiKVtikvYDBydbGoogle Cloud BigtablebigtableGoogle Cloud FirestorefirestoreCloud Healthcare APIgoogle-cloud-healthcare-apiFirebase Realtime Databasegoogle-firebase-realtime-database
and 6 more → NoSQL database page# yaml-language-server: $schema=../../schema/component.schema.json # Firestore in Datastore mode: the Datastore entity API served by Firestore. "Datastore # overview" states that all queries are strongly consistent and that data is encrypted # automatically before it is written to disk; backups and point-in-time recovery are opt-in. schemaVersion: "1" type: "component" id: "google-firestore-datastore-mode" kind: "nosql-database" provider: "gcp" docs: "https://cloud.google.com/datastore/docs/concepts/overview" aliases: ["Cloud Datastore"] defaults: model: "document" consistency: "strong" replication: "single-region" conflictResolution: "none" encryptionAtRest: true backupEnabled: false managed: true properties: locationType: type: "enum" values: ["region", "multi-region"] default: "region" pointInTimeRecovery: type: "boolean" default: false