yaroslav

High performance Ruby Fiber Scheduler powered by Zig and libxev.

12
0
100% credibility
Found Apr 17, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Ruby
AI Summary

Carbon Fiber is a drop-in Ruby library that turns standard blocking code like network requests and subprocesses into high-performance concurrent operations using a native event loop.

How It Works

1
🔍 Discover Carbon Fiber

You hear about a simple way to make your Ruby app handle many network calls or tasks at the same time without rewriting any code.

2
📦 Add to your project

You easily include it in your Ruby project so your existing code can start multitasking right away.

3
⚙️ Switch on the scheduler

You tell your program to use this smart helper that makes everything run together smoothly.

4
🚀 Run concurrent tasks

Your app now fetches data from many places or runs processes all at once, feeling incredibly fast.

5
📊 Check the speed

You see your app crushing benchmarks, handling way more work than before with less waiting.

🎉 Supercharged app

Your Ruby project now multitasks like a pro, delivering results quicker and happier users.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 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 carbon_fiber?

Carbon Fiber is a drop-in Ruby Fiber Scheduler that turns blocking stdlib calls like Net::HTTP.get, TCPSocket, Mutex, Queue, and Process.spawn into concurrent operations on a single thread—no code changes needed. It leverages io_uring on Linux and kqueue on macOS for high-performance I/O, and plugs directly into the Async framework as a swappable backend. Ruby devs get instant concurrency for HTTP clients, servers, and subprocesses using plain Ruby syntax.

Why is it gaining traction?

Benchmarks on AWS show it outperforming Async by 14-29% on HTTP servers/clients, TCP echo, and connection pools, making it the fastest pure Ruby Fiber Scheduler tested. The pure-Ruby fallback ensures it works everywhere, even Windows, without Zig compilation hassles. Its github high performance edge shines in real workloads like fan-out HTTP APIs or cascading timeouts, drawing devs chasing github high availability without ecosystem lock-in.

Who should use this?

Ruby backend devs building high-throughput HTTP services, like API gateways or web scrapers hammering endpoints. Async users wanting faster backends for rate-limited crawls or parallel downloads. High performance athletes in Ruby optimizing single-threaded concurrency for carbon fiber-like strength in lightweight apps.

Verdict

Early alpha with 12 stars and 1.0% credibility score—docs are solid, benchmarks rigorous, but test coverage and production miles are thin. Try it for perf-critical prototypes if you're on Ruby 3.4+ and Linux/macOS; fallback saves you otherwise.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.