Ring buffer.