随笔分类 - strom
摘要:In the visualization, spout components are represented as blue, while bolts are colored between green and red depending on their associated capacity metric. The width of the lines between the componen...
阅读全文
摘要:storm kafka组件中KafkaOffsetMetric相关统计指标说明 storm kafka是storm提供的一个读取kakfa的组件,用于从kafka队列中消费数据。KafkaOffsetMetric是storm kafka中关于消费状态的Metric。本文将介绍KafkaOffsetM
阅读全文
摘要:所就职的公司是一家互联网视频公司,存在大量的实时计算需求,计算uv,pv等一些经典的实时指标统计。由于要统计当天的实时 UV,当天的uv由于要存储当天的所有的key,面临本地内存不够用的问题,异常重启后会丢失本地缓存,造成计算结果不准确的问题。;如果使用外部缓存比如redis,memcache等,在
阅读全文
摘要:1.下载storm 的安装文件 http://www.apache.org/dyn/closer.cgi/incubator/storm/apache-storm-0.9.2-incubating/apache-storm-0.9.2-incubating.tar.gz 1 tar -zxvf ap
阅读全文