Skip to content

streaming_research

cellistigs edited this page Dec 8, 2020 · 1 revision

streaming research

contributed by Ryan Glassman, 12/8/20

AWS Kinesis

images/streampic.png

  • Amazon Kinesis Video Streams is an application layer, and can be configured to run on an EC2 instance. In theory it seems like it could be configured to run on the same EC2 instance, so it seems possible to have a direct line from producer to consumer (if AKVS runs on the consumer machine)
  • Can also configure consumer on AWS Lambda
  • Consumer configuration:
    • Connect to streaming data
      • Seems as simple as calling a couple of API endpoints: GetDataEndpoint, and then GetMedia
    • Can you configure it with a bash script?
      • Yeah, I think so. You're just making REST API calls, it seems like. Probably easier with Python or JS, though

Apache Kafka

  • Streaming API: Kafka Producer API
    • Language: Java
    • This does not appear to be HTTP-based, so I think you'll actually have to write Java?
  • Data flow:
    • Kafka Broker (server) in the middle
    • Can use many in parallel (?)
    • Requires management of clusters (Kinesis does not)
  • Consumer configuration:

Clone this wiki locally