Closed phuslu closed 2 years ago
a draft committed https://github.com/phuslu/log/blob/master/ring.go
performance benchmark is not good enough, close
Maybe this would be useful https://github.com/wait-free/ringbuffer Or this https://github.com/Workiva/go-datastructures/blob/master/queue/ring.go
close this issue for no plan in current.
Currently, ringbuffer implementation in golang is not good enough, we should introduce a ringbuffer writer from scratch.