MYRASTACK
MYRA = Memory Yielded, Rapid Access
Native Speed.
Memory Safe.
Zero GC. Zero Copy.
Modern Java infrastructure built entirely on FFM API — no Unsafe, no JNI.
Open source under Apache 2.0 • Star us on GitHub
27μs
P50 Latency
RPC round-trip
0
GC Pressure
Zero allocations on hot path
2.7M
Decode ops/s
23% faster than SBE
39%
Faster than Netty
Real-world payloads
MYRASTACK
Vertically integrated for maximum performance. Each layer is designed to work seamlessly together—or standalone.
MYRA Virtual Procedure over Express link • Schema-driven RPC framework
Zero-copy serialization • Code generation
io_uring networking • Registered buffers
Memory pools • Binary I/O • Off-heap primitives
Foreign Function & Memory API • No Unsafe
Java In-Memory Accelerator • Off-heap distributed cache
Stack Components
Each library is production-ready standalone, or combine them for the ultimate performance stack.
The memory foundation. Pooled off-heap segments, zero-copy binary I/O, and lifecycle management.
- MemorySegmentPool with arena support
- SegmentBinaryReader/Writer
- Utf8View & BitSetView utilities
- VarHandle-based direct access
Schema-driven serialization with flyweight pattern. YAML schema to Java code generation.
- .myra.yml schema format
- Zero-copy flyweight messages
- Lock file for schema evolution
- 23% faster decode than SBE
High-performance I/O with io_uring and registered buffers for true zero-copy networking.
- io_uring with SQPOLL mode
- Pre-registered shared buffers
- 39% faster than Netty
- Backend abstraction (NIO fallback)
The flagship RPC framework. Schema-driven, zero-copy request/response with MyraCodec + MyraTransport.
- Full stack integration
- Service code generation
- Streaming & bidirectional
- Built-in observability
Java In-Memory Accelerator. Off-heap distributed cache built on the MYRA stack.
- Off-heap key-value storage
- Zero-GC cache operations
- Distributed replication
- MyraCodec serialization
Reference implementations showing how to combine MYRA components for real-world use cases.
- KV Store example
- Trading service patterns
- Codec + transport combos
- Benchmark suite
Built for Extreme Performance
When microseconds matter, MYRA delivers predictable, GC-free execution.
📈
HFT
High-frequency trading systems
📺
AdTech
Real-time bidding platforms
🎮
Gaming
Game servers & matchmaking
💹
Market Data
High-throughput feeds
🌐
IoT
Edge event processing
☁️
Microservices
Low-latency communication
Get Started in Minutes
Define your schema, generate code, and start building zero-copy services.
# kvstore.myra.yml
namespace: "com.example.kvstore"
version: "1.0.0"
messages:
- name: "GetRequest"
fields:
- { tag: 1, name: "key", type: "string" }
- name: "GetResponse"
fields:
- { tag: 1, name: "status", type: "StatusCode" }
- { tag: 2, name: "value", type: "bytes", optional: true }
enums:
- name: "StatusCode"
type: "int8"
values:
- { name: "OK", id: 0 }
- { name: "NOT_FOUND", id: 1 }Why Choose MYRA?
Zero-Copy Architecture
Data flows from kernel to application without intermediate copies. FFM enables direct memory access without JNI overhead.
Zero GC Pressure
All hot-path operations use off-heap memory. No object allocations means no GC pauses during critical operations.
Safe & Modern
Built on Java 24+ FFM API—no Unsafe hacks. Compile-time safety with runtime performance of native code.
Schema-First Design
Define once in YAML, generate everywhere. Lock files ensure safe schema evolution with stable IDs.
Mechanical Sympathy
Cache-line aware layouts, sequential access patterns, and kernel bypass with io_uring reduce context switches.
Modular Stack
Use the full stack or pick individual components. Each library is designed for standalone use.
Ready to Build Faster?
Join the growing community of developers building high-performance Java applications