What does Private-Channel Rate Shaping conclude, in numbers, about “Bursts That Are Compliant on Average: Sliding-Window Caps and the b + rW Bound of the Token Bucket”?

Answer: The table lays out how the burst allowance relates to the long-run rate. In a window of 6 seconds one recipient could receive at most 46 messages, equal to 460.000 a minute, which looks alarming. Stretch the window to 600 seconds and the equivalent is only 14.500 a minute; stretch it to a whole day of 86400 seconds and the most is 14445, or 10.031 a minute, close to the long-run 10.000. The burst allowance is a share of 0.0031 of the day's bound. After a burst, the wait owed is 270 seconds. In other words, the burst allowance is a one-off credit, not extra capacity; once used, it is repaid at the normal rate.

Scope of the numbers: An illustrative plan averaging 10.0 messages a minute still has 420 refused when sent in batches, and none once a token bucket of depth 20 shapes it. Parameters are illustrative, platform figures carry the document and the date read, and all numbers come from the book's programs, which read and write no file and use no network.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.0031, 10.000, 10.031, 14.500, 14445, 270

per-recipient bound: depth 45, rate 1 per 6 s
window (s) most messages average per minute
646 460.000
6055 55.000
600145 14.500
3600645 10.750
8640014445 10.031
long-run per minute10.000
pause owed after a full burst270 s
burst share of a day's bound0.0031
Show the full program
# Chapter 1. p13: a published per-recipient limit read as a token bucket.
# Source wording (Meta, "About the WhatsApp Business Platform", read on
# 2026-11-13): 1 message every 6 seconds to the same user; up to 45
# messages in a 6-second burst; after a burst, wait the time those
# messages take at the normal rate. This program reads that wording as
# a bucket of rate 1/6 per second and depth 45; the depth is the book's
# reading, not a figure Meta states as such. It prints the most
# messages one recipient could get in windows of several lengths, the
# implied average rate, and the pause owed after a full burst. The same
# rate-plus-burst shape drives the two buckets of RFC 2697.
from fractions import Fraction as F

RATE, DEPTH = F(1, 6), 45


def most(t):
    return DEPTH + int(RATE * t)


print("per-recipient bound: depth %d, rate 1 per 6 s" % DEPTH)
print("window (s)   most messages   average per minute")
for t in (6, 60, 600, 3600, 86400):
    m = most(t)
    print("%10d   %13d   %18.3f" % (t, m, float(F(m * 60, t))))
print("long-run per minute: %.3f" % float(RATE * 60))
print("pause owed after a full burst: %d s" % int(DEPTH / RATE))
print("burst share of a day's bound: %.4f" % (DEPTH / most(86400)))

Single source and citation

Fan, Y. (2026). Rate Control for Private Messaging Channels without Account Bans: Token-Bucket Shaping, Platform-Published Limits and Consent-Based Reach Throughput (Version 1.0.0), Chapter 1: Bursts That Are Compliant on Average: Sliding-Window Caps and the b + rW Bound of the Token Bucket. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-271 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026271,
  author    = {Fan, Yafu},
  title     = {Rate Control for Private Messaging Channels without Account Bans: Token-Bucket Shaping, Platform-Published Limits and Consent-Based Reach Throughput},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book