I see ring buffers are very useful with their speed and if you have a known maximum buffer length they make a lot of sense. Let's say in the scenario where you have streaming data, but the playing stream is paused and caching continually in the background.
What do you do with a ring buffer when the data that needs to be cached exceeds that of the size of the ring buffer? Or is there a better buffering method for this?