点播服务器 API 概述
Rate Limiting
To ensure the availability and security of Polyv services and prevent malicious attacks on Polyv servers, the Polyv server imposes rate limits on API calls. For the entire Polyv API domain api.polyv.net, the limit is: no more than 500 requests per IP within 10 seconds. If this request frequency limit is exceeded, access will be blocked for 5 minutes. When integrating API calls, B-end users should avoid exceeding the limit and making frequent API calls, which could affect normal service.
It is strongly recommended that B-end users adopt the following integration strategy:

All requests should be forwarded to the Polyv server through the B-end server, rather than directly accessing the Polyv server from the B-end client. The B-end server should integrate caching frameworks such as Redis or Memcache. Request results should be retrieved from the cache as much as possible to reduce call frequency. The logic for tracking call frequency can also be encapsulated within the Redis caching framework for easier business logic processing.
