Ring buffer for inter-process communication