Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Token Bucket Burst Duration

Estimate how long a full bucket permits traffic above the refill rate.

Networking workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaburstTime=bucket/(send−refill)
Sources and model references

Worked example

Inputs

Initially full bucket
100000 bytes
Token refill rate
1000000 bytes/s
Burst sending rate
2000000 bytes/s

Expected results

Maximum full-rate burst
0.1 s
Bytes transmitted during burst
200000 bytes

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs in the indicated units.
  2. Calculate and compare every output against the stated model assumptions.

Try this example

{
  "bucket": 100000,
  "refill": 1000000,
  "send": 2000000
}

Accuracy and scope

Continuous-fluid approximation; packet-level token availability rounds the actual burst. Simplified analytical model; not a design recommendation or safety certification.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.