Amazon Keyspaces is a scalable, fully managed, and serverless Apache Cassandra-compatible database service offered by Amazon Web Services (AWS). This service is designed for developers who require the performance, scalability, and wide-column store features of Apache Cassandra, along with the operational benefits of a fully managed service.
With Amazon Keyspaces, developers can run their Cassandra workloads on AWS using the same Cassandra application code and developer tools that they are accustomed to, but without the need to provision, configure, or manage the underlying infrastructure.
Amazon Keyspaces change data capture (CDC) streams record row-level change events in near-real time. Applications can use the Kinesis Client Library (KCL) to consume and process these streams.
Time to Live (TTL) automatically expires table data based on the TTL value you set.
Amazon Keyspaces offers Murmur3Partitioner as the default partitioner, along with RandomPartitioner and DefaultPartitioner. The partitioner can be changed at the account level separately for each Region.
The maximum row size is 1 MB, excluding static column data.
Amazon Keyspaces is built to offer high availability and durability. It replicates data across multiple AWS Availability Zones in a region, providing a well-architected solution that automatically scales to handle large amounts of reads and writes per second. This ensures that a developer's data is available when needed and is safeguarded against outages. The service provides a consistent performance experience, irrespective of the scale of operations, making it ideal for applications that cannot afford any performance bottlenecks.
Multi-Region Replication provides automated, fully managed, active-active replication across your chosen AWS Regions, supporting local reads and writes for global applications and resilience to regional degradation.
Multi-Region tables require write throughput configured in on-demand capacity mode or provisioned capacity mode with auto scaling. Capacity planning must account for writes from all Regions so that each Region has sufficient capacity for replicated writes.
A notable advantage of Amazon Keyspaces is that it eliminates the complex and time-consuming tasks of managing a Cassandra cluster. Tasks such as hardware provisioning, setup and configuration, software patching, and backups are handled by AWS. Developers can launch a Cassandra-compatible keyspace in just a few clicks and immediately start building their applications. This reduction in management overhead allows teams to focus their resources on the application innovation rather than the intricacies of infrastructure management.
Moreover, Amazon Keyspaces integrates seamlessly with many AWS services and features such as AWS Identity and Access Management (IAM) for fine-grained access control, AWS CloudTrail for auditing, and Amazon CloudWatch for metrics and monitoring. This level of integration simplifies the process for developers to secure, monitor, and audit their keyspaces and underlying data.
The service offers an on-demand capacity mode as well, which requires no capacity planning. This enables developers to pay only for the resources they use, further scaling up or down automatically in response to the application's actual request throughput, making Keyspaces cost-effective and eliminating the risk of over-provisioning.
Amazon Keyspaces also offers provisioned capacity mode for predictable traffic. You specify the expected number of reads and writes per second and can enable auto scaling to adjust provisioned capacity in response to actual traffic.
In summary, Amazon Keyspaces brings Apache Cassandra's wide-column store and powerful capabilities into the AWS Cloud as a fully managed service, thereby extending its accessibility and viability for contemporary cloud-based applications. It empowers organizations to leverage Cassandra's NoSQL database features without the overhead of managing infrastructure so they can concentrate on creating applications that scale flexibly, perform consistently, and integrate effortlessly with other AWS services.
/covers/Arch_Amazon-Keyspaces_64.png)