slurry icon indicating copy to clipboard operation
slurry copied to clipboard

The broadcast method is unsafe

Open andersea opened this issue 2 years ago • 1 comments

The way broadcasting to taps and extensions works currently is not safe. It should support backpressure, but currently messages just pile up in a big queue, leading to possible memory leaks and other unpleasant issues. This needs a thorough rethink. There is a lot of discussion available on the issue of broadcasting in the trio community as well.

See for instance: https://github.com/python-trio/trio/issues/987

andersea avatar Dec 30 '22 11:12 andersea