Process / pipelineTraffic shaping

อัลกอริทึมจำกัดอัตราด้วย Token Bucket

Token bucket เป็นอัลกอริทึมที่เรียบง่ายและมีประสิทธิภาพสำหรับการปรับรูปแบบการจราจร (traffic shaping) และการจำกัดอัตรา (rate limiting) โดยถังเสมือน (virtual bucket) จะสะสมโทเค็นในอัตราคงที่ (อัตราข้อมูลที่ตกลงไว้ หรือ committed information rate) แพ็กเก็ตขาเข้าจะใช้โทเค็น (หนึ่งโทเค็นต่อหนึ่งไบต์) และจะถูกส่งออกไปก็ต่อเมื่อมีโทเค็นเพียงพอเท่านั้น หากถังเต็ม โทเค็นส่วนเกินจะถูกทิ้ง (ไม่มีการสะสม) Token bucket จะจำกัดอัตราสูงสุดและอนุญาตให้มีการส่งข้อมูลแบบเป็นชุด (burst) ที่ควบคุมได้ ทำให้เหมาะสำหรับการจัดการการจราจรในเครือข่าย

เปิดใน MethodMindเร็ว ๆ นี้วิดีโอเร็ว ๆ นี้Download slides

อ่านวิธีฉบับเต็ม

สำหรับสมาชิกเท่านั้น

เข้าสู่ระบบด้วยบัญชีฟรีเพื่ออ่านส่วนนี้

เข้าสู่ระบบ

Method map

The neighbourhood of related methods — select a node to explore.

อัลกอริทึมจำกัดอัตราด้วย Token Bucket
Carrier Sense Multiple A…การบริการแบบจำแนกประเภท…

แหล่งอ้างอิง

  1. Turner, J. S. (1986). New directions in communications (or which way to the information age?). IEEE Communications Magazine, 24(10), 8-15. link
  2. Heinanen, J., Guerin, R., & May, A. (1999). A Single Rate Three Color Marker. RFC 2697. link

วิธีอ้างอิงหน้านี้

ScholarGate. (2026, June 3). Token Bucket Rate Limiting Algorithm. ScholarGate. https://scholargate.app/th/telecommunications/token-bucket

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

Compare side by side

ถูกอ้างอิงโดย

ScholarGateToken Bucket (Token Bucket Rate Limiting Algorithm). สืบค้นเมื่อ 2026-06-15 จาก https://scholargate.app/th/telecommunications/token-bucket · ชุดข้อมูล: https://doi.org/10.5281/zenodo.20539026