Apache Cassandra
NoSQL databasecassandra
Leaderless wide-column store with tunable consistency and last-writer-wins resolution.
- Provider
- default
- Kind
- NoSQL database
- Category
- Data
- Official docs
- https://cassandra.apache.org/doc/stable/
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| backupEnabled | boolean | — | no | false | inherited |
| backupRetentionDays | integer | — | no | — | inherited |
| bucketing | boolean | — | no | false | inherited |
| compactionStrategy | enum | size-tiered | leveled | time-window | no | size-tiered | inherited |
| conflictResolution | enum | none | last-writer-wins | vector-clock | app-merge | no | — | ▸ last-writer-wins |
| consistency | enum | eventual | tunable | strong | no | eventual | ▸ tunable |
| encryptionAtRest | boolean | — | no | false | inherited |
| instances | integer | — | no | — | inherited |
| managed | boolean | — | no | false | inherited |
| model | enum | key-value | wide-column | document | yes | — | ▸ wide-column |
| partitionKey | string | — | no | — | 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 | — | ▸ 10 |
| vectorSearch | boolean | — | no | false | 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: "cassandra", component: "cassandra" }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 DatabaseaerospikeCouchbasecouchbaseApache 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-databaseFirestore in Datastore modegoogle-firestore-datastore-mode
and 6 more → NoSQL database page# yaml-language-server: $schema=../../schema/component.schema.json # Apache Cassandra: leaderless wide-column store with tunable consistency and last-writer-wins # cell resolution; gc_grace_seconds defaults to ten days. # vectorSearch: the vector CQL type with SAI ANN indexes, new in Cassandra 5.0 ("Vector Search"). schemaVersion: "1" type: "component" id: "cassandra" kind: "nosql-database" provider: "default" docs: "https://cassandra.apache.org/doc/stable/" defaults: model: "wide-column" consistency: "tunable" replication: "single-region" conflictResolution: "last-writer-wins" tombstoneTtlDays: 10 properties: compactionStrategy: type: "enum" values: ["size-tiered", "leveled", "time-window"] default: "size-tiered" vectorSearch: type: "boolean" default: false