Skip to content

AWS IVS API Rate limit

0

Hi Team,

I was trying to integrate IVS for one of my project. I will be streaming atleast 300 concurrent video streams. Each video stream might last 10-15mins. Once the stream is over (stopped), I would either delete the channel or reset the stream key.

  1. According to service quota page, limits are as follows Stream key CreateStreamKey 5 TPS Stream key DeleteStreamKey 5 TPS Stream StopStream 5 TPS Channel CreateChannel 5 TPS Channel DeleteChannel 5 TPS

I have following doubts regarding IVS rate limits. Since, I might be deleting and re-creating 300 streamkeys/second and 300 channels/sec.

  1. Are these hard-limits?
  2. Do I need to implement a queue to handle these use-cases?
asked 3 years ago565 views
1 Answer
0

The IVS rate limits you've mentioned are soft limits, which means they can be increased by contacting AWS Support and requesting a limit increase. However, it's essential to evaluate if the new limits align with your use case.

Given that you expect to delete and recreate 300 stream keys/sec and 300 channels/sec, it exceeds the default rate limits. You should consider implementing a queue to handle these use-cases or optimize your architecture.

Possible approaches:

  1. Request a limit increase: Contact AWS Support to request an increase in the rate limits for your specific use case.
  2. Implement a queue: You can use a service like Amazon SQS to manage the creation and deletion of stream keys and channels. With a queue in place, your application can process requests at a rate within the IVS limits, while still allowing a larger number of streams to be managed over time.
  3. Optimize your architecture: Evaluate if it's necessary to create and delete channels and stream keys for every streaming session. Instead, you might reuse channels and stream keys, reducing the number of API calls you need to make.

Remember to consider the cost implications and operational complexity when selecting the best approach for your use case.

EXPERT
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.