【问题标题】:Continuous Measurement of Cassandra Insertion speedCassandra 插入速度的连续测量
【发布时间】:2011-09-14 16:45:17
【问题描述】:

我有一个以分布式方式写入 Cassandra 集群的应用程序。不同的线程可能会写入不同的 cassandra 节点,并且写入线程可能会从不同的主机启动。

我有没有办法测量累积插入速度?那就是我想知道在任何给定时间插入的记录总数。

我在 Cassandra 0.8.5 中使用 hector。

【问题讨论】:

    标签: nosql cassandra


    【解决方案1】:

    Cassandra 通过 JMX 公开了大量的性能指标。一个好的起点是http://www.datastax.com/docs/0.8/operations/monitoring

    【讨论】:

    • 我知道这一点,但是这些信息都无助于确定累积插入速度。例如,Cassandra 确实导出了“WriteCount”,但是无法知道这些写入发生了多少时间。
    • 你当然可以记录下你要求writecount的时间。
    • 有趣,我没想到 :)
    猜你喜欢
    • 1970-01-01
    • 2023-03-27
    • 2013-04-28
    • 1970-01-01
    • 2011-07-03
    • 2016-06-25
    • 2017-08-30
    • 1970-01-01
    • 2011-08-07
    相关资源
    最近更新 更多