Registry / messaging / smartystreets-prototypes-go-disruptor

smartystreets-prototypes-go-disruptor

JSON →
library0.5.0gogounverified

A Go implementation of the LMAX Disruptor pattern for high-performance inter-thread messaging.

go get github.com/smartystreets-prototypes/go-disruptor
INSTALL
IMPORT
SIG · SMARTYSTREETS-PROT
S
smartystreets-prototypes-go-disruptor
messaginggov0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

disruptor
github.com/smartystreets-prototypes/go-disruptor

Sets up a disruptor ring buffer with a consumer.

package main import ( "fmt" "github.com/smartystreets-prototypes/go-disruptor" ) func main() { ringBuffer := disruptor.New( disruptor.WithCapacity(1024), disruptor.WithConsumerGroup(disruptor.NewConsumer(func(seq int64) { fmt.Println(seq) })), ) ringBuffer.Start() defer ringBuffer.Stop() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
smartystreets-prototypes-go-disruptor — go get smartystreets-prototypes-go-disruptor · libregistry