alphadose/ZenQ

A thread-safe queue faster and more resource efficient than golang's native channels

GoAssemblygogolangoptimizationconcurrencyringbufferlow-latencylock-freefastesthigh-throughputmemory-efficientthread-safespsc-queuempsc-queuehighly-concurrentzero-allocationszenq
This is stars and forks stats for /alphadose/ZenQ repository. As of 28 Apr, 2024 this repository has 618 stars and 18 forks.

ZenQ A low-latency thread-safe queue in golang implemented using a lock-free ringbuffer and runtime internals Based on the LMAX Disruptor Pattern Features Much faster than native channels in both SPSC (single-producer-single-consumer) and MPSC (multi-producer-single-consumer) modes in terms of time/op More resource efficient in terms of memory_allocation/op and num_allocations/op evident while benchmarking large batch size inputs Handles the case where NUM_WRITER_GOROUTINES > NUM_CPU_CORES much...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
minio/minio-goGoMakefile2.1k+6621+3
nsqio/nsqGoJavaScriptHandlebars23.8k+172.9k+1
GoogleContainerTools/skaffoldGoJavaScriptShell14.2k01.6k0
fluxcd/flux2GoHCLOther5.3k05260
cloudposse/terraform-aws-vpc-peering-multi-accountHCLGoMakefile1110830
cloudposse/terraform-aws-ssm-tls-self-signed-certHCLGoMakefile7080
tensorflow/tpuJupyter NotebookPythonC5.2k01.8k0
kt007007/KTMinerProxyGo1.1k01800
SmartIDE/SmartIDEGoShellDockerfile4010520
SigNoz/signozTypeScriptGoShell14.7k08750