ioxide 0.3.100
See the version list below for details.
dotnet add package ioxide --version 0.3.100
NuGet\Install-Package ioxide -Version 0.3.100
<PackageReference Include="ioxide" Version="0.3.100" />
<PackageVersion Include="ioxide" Version="0.3.100" />
<PackageReference Include="ioxide" />
paket add ioxide --version 0.3.100
#r "nuget: ioxide, 0.3.100"
#:package ioxide@0.3.100
#addin nuget:?package=ioxide&version=0.3.100
#tool nuget:?package=ioxide&version=0.3.100
A shared-nothing io_uring runtime for .NET.
One ring per reactor thread - run one per core. Each reactor owns its ring, its SO_REUSEPORT listener, its connections and its clients outright: nothing is shared, so nothing is locked. HTTP, Postgres, Redis and file I/O all submit on the owning ring and resume inline on the same thread. No thread pool on the hot path. No native dependencies - raw syscalls, nothing else.
Linux 6.1+ · .NET 10 / .NET 11 · status
0.2.6- experimental
Documentation - architecture, guides, and every example below as runnable code you can read side by side.
First-class async/await
Shared-nothing runtimes usually ask you to give up the platform's async model. ioxide keeps it:
handlers are ordinary async Task code, and await works everywhere.
- Ring completions resume their continuations inline on the reactor thread - an awaited recv, query or file read picks up exactly where it left off, with no thread pool hop.
- A per-reactor
SynchronizationContextcatches everything that would otherwise escape: timers,HttpClient,Task.Runresults - their continuations post back to the owning reactor. - Ring operations await through reusable, allocation-free awaitables.
You always wake up on your reactor. That is what makes shared-nothing practical in .NET: connection, pool and handler state stays single-threaded without a lock in sight.
Clients ride the same ring
Every client is opened from the reactor's start hook, which runs on the reactor thread - so the connections it makes belong to that reactor's ring. The handler fetches it back as a reactor service. There is one pool per reactor and no sharing between them, which is why none of it needs a lock.
That holds for a Postgres query, a Redis command, an outbound HTTP call and a positional file read alike: each is submitted on the ring that accepted the request and resumes on the same thread, so a request never leaves the core it arrived on. A reverse proxy built this way keeps both hops - inbound connection and outbound call - on one thread for the life of the request.
Scope
ioxide hands you raw bytes and stays out of HTTP. Request parsing and response bytes are your
code; the runtime owns the ring, the connections and the clients. When you want a framework on
top, ioxide.Kestrel swaps the transport under an existing ASP.NET Core app - one ring per core,
with Kestrel's request loop pinned to the reactor thread, and your endpoints unchanged.
Packages
| Package | What it does |
|---|---|
ioxide |
The runtime: reactors, TCP/UDP transports, connections, the ring-native client seam. |
ioxide.http11 |
HTTP message types and the ring-native HTTP/1.1 client. No native dependencies. |
ioxide.nghttp2 |
HTTP/2 + HPACK (nghttp2), bundled native. Sans-I/O - bytes ride any ioxide connection. |
ioxide.ngtcp2 |
QUIC engine: ngtcp2 + picotls bundled native. Only system dependency is OpenSSL 3. |
ioxide.nghttp3 |
HTTP/3 + QPACK (nghttp3), bundled native. Rides any QUIC connection. |
ioxide.http3 |
Pure-C# HTTP/3: frames, QPACK, Huffman. Zero native code, drop-in for ioxide.nghttp3. |
ioxide.tls |
TLS. OpenSSL handshake over the ring, then kTLS - handlers keep writing plaintext. |
ioxide.httpclient |
One HTTP client per origin over 1.1 / h2c / h3, chosen per origin via Alt-Svc. |
ioxide.pg |
Postgres driver. A pool per reactor; connect, query and stream rows on the owning ring. |
ioxide.redis |
Redis client. RESP2, pipelining, pub/sub - pooled per reactor. |
ioxide.file |
Static assets. Immutable snapshots, baked responses, positional ring reads. |
ioxide.Kestrel |
ASP.NET Core transport: UseIoxide() and Kestrel runs one ring per core. |
Where the code is
Nothing here is pseudocode. Every pattern above exists as something you can run:
| What you get | |
|---|---|
| Documentation | The examples browser - TCP, QUIC, HTTP/3, every client, and the ASP.NET drop-in, side by side. |
| Playground | One project per workload. Each Program.cs is a complete server - config, reactors, threads, handler - so you can copy the file out and run it. |
| Examples | The raw, pg, redis, file and tls variants plus a quic-h3 mode, with benchmark results. |
| Examples.AspNet | UseIoxide() measured against a stock Kestrel baseline. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages (17)
Showing the top 5 NuGet packages that depend on ioxide:
| Package | Downloads |
|---|---|
|
ioxide.file
File serving for the ioxide io_uring runtime: immutable asset snapshots with baked responses, pooled positional ring reads, atomic reloads. |
|
|
ioxide.pg
Postgres driver for the ioxide io_uring runtime: pooled ring-native connections per reactor, ring-native connect and handshake, inline completion resume. |
|
|
ioxide.redis
Redis client for the ioxide io_uring runtime: pooled ring-native connections per reactor, full RESP2 protocol, a generic command API plus typed helpers (strings, keys, hashes, lists, sets, sorted sets, pub/sub, transactions, scripting), and pipelining. Inline completion resume. |
|
|
ioxide.tls
TLS for the ioxide io_uring runtime: OpenSSL handshake driven over the ring, then kernel TLS (kTLS) transmit offload - handlers keep writing plaintext through the same connection API. Requires Linux kTLS (tls module) and OpenSSL 3. |
|
|
ioxide.Kestrel
ASP.NET Core Kestrel transport backed by the ioxide io_uring runtime: one reactor (ring) per core, SO_REUSEPORT load-balanced, with Kestrel's HTTP request loop pinned to the reactor thread. Drop-in via UseIoxide(). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.186 | 0 | 8/12/2026 |
| 0.4.184 | 52 | 8/12/2026 |
| 0.4.179 | 64 | 8/11/2026 |
| 0.4.178 | 78 | 8/10/2026 |
| 0.4.177 | 72 | 8/10/2026 |
| 0.4.176 | 82 | 8/10/2026 |
| 0.4.169 | 100 | 8/9/2026 |
| 0.4.168 | 89 | 8/9/2026 |
| 0.4.167 | 81 | 8/9/2026 |
| 0.4.165 | 110 | 8/9/2026 |
| 0.4.163 | 90 | 8/8/2026 |
| 0.4.162 | 85 | 8/8/2026 |
| 0.4.161 | 103 | 8/8/2026 |
| 0.4.156 | 89 | 8/8/2026 |
| 0.4.153 | 86 | 8/7/2026 |
| 0.4.152 | 80 | 8/7/2026 |
| 0.3.149 | 93 | 8/7/2026 |
| 0.3.145 | 123 | 8/5/2026 |
| 0.3.100 | 128 | 8/5/2026 |
| 0.2.6 | 131 | 8/4/2026 |