Search code examples
videorabbitmqdistributionamqpads

Is AMQP suitable for building a video ad distribution system?


I'd do some work on video advertisement distribution. My application is that there exist many mobile terminals in different areas which would play video ads. Those terminals(ex. those installed in elevators) are conneted to a control server. When video advertisements in different types published on the server, they are distributed to related termanals through a designed strategy. My assumption is that we use the AMQP-based rabbitmq server to implement the distribution. Terminals subscribe different topics on the server, and the server push those video ads according to the topic.

But as far as I know rabbitmq is more used in message notification. Can the "message" be some kind of video type? Does AMQP fit for this case?


Solution

  • You could use the MQ as a message distribution system as you subscribe with links to a DB of videos. The client would receive a message according to the topic and that message will tell it which video to download and play. That way you have small payloads running through your broker but it can still distribute according to you specifications.