Polyv Help Center

Help Center

点播服务器 API 概述

Updated: 2025-05-23 11:42:35

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 for a single IP is: no more than 500 requests within 10 seconds. If this request frequency limit is exceeded, access will be blocked for 5 minutes. When integrating API calls, B-end clients must avoid exceeding the limit and making frequent API calls, which could disrupt normal services.

  It is strongly recommended that B-end clients adopt the following integration strategy:

image-20210329094209871

  All requests should be forwarded from the B-end server to the Polyv server, rather than allowing the B-end client to directly access the Polyv server. The B-end server should integrate caching frameworks such as Redis or Memcache, and 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.

联系客服,在线咨询