我有一个分布式视频分析系统,它由以下部分组成:
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。欢迎任何建议。
发布于 2010-01-15 00:06:50
在Java语言中,您可以考虑使用RabbitMQ消息总线。有一个带有Java bindings的库。
RabbitMQ基于经验证的平台,可提供超高的可靠性、可用性和可扩展性,以及可预测和一致的良好吞吐量和延迟性能。它有一个紧凑的,易于维护的代码库,允许快速定制和热部署。有广泛的管理、监测、控制和调试设施,并得到全面的商业支持服务和积极开发扩展核心系统的软件包的社区的支持。
https://stackoverflow.com/questions/2065488
复制相似问题