The Custom Push Speed feature is to solve the problem where Tencent Push Notification Service may push messages so fast that some customer servers experience too much connection pressure. Tencent Push Notification Service provides API settings to allow you to control the push speed according to your own server conditions.
After Custom Push Speed is enabled, the message will be pushed to devices that match the push target at the set speed.
Note:
- Only push to all devices and push by tag support Custom Push Speed.
- The push speed can range from 1,000 to 50,000 pushes per second.
When calling the RESTful API, you can set the push_speed
parameter to push messages at a custom speed. For more information, see the Optional Parameters section in Push API.
Below is a sample push:
{
"audience_type": "tag",
"tag_list": {
"tags": [
"tag1",
"tag2"
],
"op": "AND"
},
"push_speed":50000,
"message_type": "notify",
"message": {
"Title": "Push title",
"content": "Push content",
"android": {
"custom_content":"{\"key\":\"value\"}"
}
}
}
Was this page helpful?