Currently, we are writing the processables to the connected users directly. This approach can have a risk of performance when the reader is not as fast as the writer is.
We may use Go channels between the writer and reader.
But what should we do when the buffered channel has reached maximum capacity? The old items can be discarded, but Go channels do not support it.
Currently, we are writing the processables to the connected users directly. This approach can have a risk of performance when the reader is not as fast as the writer is.
We may use Go channels between the writer and reader.
But what should we do when the buffered channel has reached maximum capacity? The old items can be discarded, but Go channels do not support it.