Ultra-low-latency networking with io_uring and Java's FFM API.
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// 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();| Metric | MyraTransport | Netty |
|---|---|---|
| p99 Latency | 12μs | 45μs |
| Throughput | 2.1M msg/s | 850K msg/s |
| GC Pressure | Zero | Medium |
📚 User Guide — Full documentation
🚀 Getting Started — Ecosystem tutorial
📖 API Reference — Javadoc
📊 Benchmarks — Performance analysis
See CONTRIBUTING.md for build instructions and PR process.
Apache 2.0 — See LICENSE