Go to content

Level-Up Real-time Go Applications with Ringbuffers - Fawaz Ghali

Ringbuffers are great assets for real-time large scale distributed applications. Ringbuffer integration is a replicated, but not partitioned, the data structure that stores its data in a ring-like structure. You can think of it as a circular array with a given capacity. Each ringbuffer has a tail and a head. The tail is where the items are added and the head is where the items are overwritten or expired. Each client is connected to a ringbuffer that can independently read items between the head and tail, which makes the ringbuffer an ideal candidate for publish and subscribe or efficient data replication use cases. This talk will discuss how you can level up Go applications using ring buffer structure. It will contain a demo hosted on Github

August 16, 2023