gocronx

gocronx / seqflow

Public

High-performance lock-free Disruptor for Go

32
3
100% credibility
Found Mar 15, 2026 at 28 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

seqflow is a Go library that enables ultra-fast, lock-free coordination of data processing pipelines between program parts using a circular buffer and sequence tracking.

How It Works

1
🔍 Discover seqflow

You learn about seqflow while searching for ways to make your program handle busy data streams super smoothly and fast.

2
📥 Bring it home

You easily add seqflow to your project so it can start powering up your data handling.

3
📋 Plan your assembly line

You sketch out the steps for your data journey, like first check it, then work on it, then save it, linking them in order.

4
🚀 Turn on the flow

You launch the system with one simple start, and it begins eagerly waiting for data to zoom through.

5
📤 Pour in the data

You start sending messages or tasks into the pipeline, watching them rush along without any holdups.

Blazing speed achieved

Your program now processes floods of data lightning-quick, feeling smooth and powerful every time.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 28 to 32 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is seqflow?

Seqflow brings the LMAX Disruptor pattern to Go as a high-performance, lock-free ring buffer for inter-goroutine messaging. Producers reserve batches of slots atomically with `Reserve(n)`, write zero-copy via `RingBuffer().Set()`, and publish with `Commit()`; consumers chain handlers in DAGs like decode -> process -> store using `WithHandler()` and `DependsOn()`. It solves Go channels' lock contention and allocation overhead in high-throughput pipelines.

Why is it gaining traction?

Benchmarks crush channels—2.1ns single-writer (10x faster), 0.13ns batches (160x)—with zero allocs on M4 chips, plus multi-writer support and tunable wait strategies like busy-spin or blocking. Developers eye it for high performance backend github needs, akin to C++ high performance github libs or Rust high performance lock-free queues, but with easy DAG topologies and optional metrics. The quick-start example runs in seconds via `go get`.

Who should use this?

Backend Go devs building event-driven microservices, real-time trading platforms, or streaming processors hitting channel limits at millions/sec. Suited for high performance computing github workloads like Spark-style pipelines or MySQL ingest, where batching and lock-free seqflow js-like flows boost throughput without Rust/Java switches.

Verdict

Grab for perf-critical hot paths if channels bottleneck you—docs, examples, and tests are solid despite 14 stars and 1.0% credibility score signaling early maturity. Prototype freely, but monitor for production stability.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.