【发布时间】:2011-08-17 11:36:20
【问题描述】:
我有一个分布式视频分析系统,它由以下部分组成:
1. feature extraction: generated lots of features(20+) from each frame of the video
2. multiple detectors(in different machine):
* Each of them will get a subset of feature
* Each of them needs the features from multiple frames.
* Eg. Detector 1 needs feature 1-5 from 3 frames to start processing; Detector 2 needs feature 2-8 from 8 frames to start processing
我的问题是:如何在特征提取块和多个检测器之间进行通信,最好是实时的?我一直在研究事件总线,但它只适用于一个进程,Hadoop 中的 ZooKeeper 会是更好的解决方案吗?
我正在使用 Java。欢迎提出任何建议。
【问题讨论】:
-
一个特征有多少数据?像每个功能 8 个字节?如果您的数据非常少,您可以做很多简单的事情,例如将所有特征广播到所有检测器。
标签: java video distributed message apache-zookeeper