amazon-web-services - 如何从 Cassandra 计算 RCU 和 WCU 以进行 AWS Keyspace 成本估算?

标签 amazon-web-services cassandra cost-management amazon-keyspaces aws-keyspace

为了考虑将 AWS Keyspaces 作为本地 Cassandra 集群的替代方案,我想进行成本估算。但是, key 空间定价基于写入请求单位 (WRU) 和读取容量单位 (RCU)。
https://aws.amazon.com/keyspaces/pricing/

Each RRU provides enough capacity to read up to 4 KB of data with LOCAL_QUORUM consistency. Each WRU provides enough capacity to write up to 1 KB of data per row with LOCAL_QUORUM consistency


Cassandra 中的哪些指标可用于计算现有集群的 RCU 和 WCU?

最佳答案

目前我们正在存储 iostats 信息(每秒钟)。基于这些信息,我们能够想出一个大约 RC 和 WC。 (+- 10% 误差幅度,95% 置信水平)
我们将很快与 AWS 人员交叉检查我们的数字。
例子:
enter image description here

Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
abc               0.00     0.00    1.00    0.00     0.03     0.00    64.00     0.00    0.00    0.00    0.00   0.00   0.00
我们使用以下计算:
10,000 次写入,每秒高达 1Kb,在 AWS-EAST 区域中,成本将为
写入成本:
按需容量模式
= 1.45 美元 * 0.01 * 60 * 60 * 24 * 365 = 每年 457,272 美元
预置容量模式
= 0.00075 美元 * 0.01 * 60 * 60 * 24 * 365 = 每年 236.52 美元
更新:AWS 人员正在根据表分区大小进行计算,这是 IMO 错误的。

关于amazon-web-services - 如何从 Cassandra 计算 RCU 和 WCU 以进行 AWS Keyspace 成本估算?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67435788/

相关文章:

mysql - AWS Aurora 与 MySQL 的兼容性

node.js - DynamoDB - 获取不起作用

cassandra - 如何提高 cassandra 的写入性能?

Cassandra "no viable alternative at input"

docker - 如何在主机服务器上将Zeppelin镜像与cassandra连接

azure - 当调用部署在 Azure 实例中的同一个 OpenAI GPT 模型时,如何单独跟踪每个程序的费用?

amazon-web-services - 在 s3 中启用版本控制的成本

mysql - 为什么人们不建议使用 Amazon RDS?

amazon-web-services - 当状态机执行中止时,cloudformation 如何处理基于 AWS Step 函数的自定义资源?

amazon-web-services - 如何使用 AWS CLI 获取每日成本