The Leaky Bucket Algorithm
This lesson gives an implementation and explanation of an algorithm that controls client-server communication using a buffer.
We'll cover the following...
Introduction
Consider the following client-server configuration. The client
goroutine performs an infinite loop that is receiving data from some source, perhaps a network; the data ...