You can choose between pay-by-data-transfer and pay-by-peak-bandwidth. After you enable WebSocket, the pay-by-data-transfer metering method is used by default. You can change the metering method based on your business requirements. This topic describes the billing methods and usage notes of WebSocket.

Note

For more information about WebSocket pricing, see DCDN pricing.

Pay-by-data-transfer (default)

ScenarioDescription
The network traffic fluctuates and the bandwidth usage spikes. The daily bandwidth usage is lower than 30%.
  • Billing rule: After you enable WebSocket, you are charged for daily outbound data transfer on DCDN nodes based on tiered pricing.
  • Billable item: data transfer.
  • Billing method: pay-as-you-go.
  • Billing cycle: You are charged on an hourly basis. After each billing cycle, the bill is generated and sent to your account after 3 to 4 hours. The actual time when the bill is sent is determined by the system.

Pay-by-peak-bandwidth

Important To use the pay-by-peak-bandwidth metering method, make sure that the peak bandwidth value within the previous 30 days exceeds 5 Gbit/s and Contact your account manager or contact us by other means. For more information, see Contact us.
ScenarioDescription
The network traffic is relatively flat and the daily bandwidth usage exceeds 30%.
  • Billing rule: After you enable WebSocket, you are charged based on the daily peak bandwidth. A bandwidth value is collected every 5 minutes. A total of 288 values are collected every day. The highest bandwidth value is used as the daily peak bandwidth value.
  • Billable item: peak bandwidth.
  • Billing method: pay-as-you-go.
  • Billing cycle: You are charged on a daily basis. The bill of the current day is issued and the amount due is deducted after 00:00 on the following day. The time when bills are issued is determined by the system.

References

What is WebSocket?