Skip to content

High-performance networking built on Linux io_uring for true async I/O with zero-copy buffer management and kernel bypass capabilities.

Notifications You must be signed in to change notification settings

mvp-express/myra-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyraTransport

Ultra-low-latency networking with io_uring and Java's FFM API.

Build License

Installation

dependencies {
    implementation("express.mvp.myra.transport:myra-transport:0.2.1")
}

Requires Java 24+ with FFM enabled and Linux 5.1+ for io_uring:

java --enable-native-access=ALL-UNNAMED -jar your-app.jar

Quick Example

// Server with io_uring backend
var config = TransportConfig.builder()
    .backend(Backend.IO_URING)
    .port(8080)
    .build();

var server = new MyraServer(config);
server.onMessage((ctx, segment) -> {
    // Zero-copy message handling
    ctx.reply(responseSegment);
});
server.start();

Performance

Metric MyraTransport Netty
p99 Latency 12μs 45μs
Throughput 2.1M msg/s 850K msg/s
GC Pressure Zero Medium

Documentation

📚 User Guide — Full documentation
🚀 Getting Started — Ecosystem tutorial
📖 API Reference — Javadoc
📊 Benchmarks — Performance analysis

For Contributors

See CONTRIBUTING.md for build instructions and PR process.

License

Apache 2.0 — See LICENSE

About

High-performance networking built on Linux io_uring for true async I/O with zero-copy buffer management and kernel bypass capabilities.

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published