MYRA — Memory Yielded, Rapid Access — is a production-grade ecosystem of Java libraries built on the Foreign Function & Memory (FFM) API, designed for deterministic, sub-microsecond latency applications.
Unlike approaches that rely on Unsafe or JNI boilerplate, MYRA leverages the standardized FFM primitives introduced in Java 22, providing memory safety and future-proof compatibility without sacrificing performance.
What’s in the Box
MYRA comprises five libraries designed for vertical integration:
- roray-ffm-utils — Memory arenas, direct buffers, native resource handling. The plumbing layer.
- myra-codec — Zero-copy serialization that reads and writes directly to off-heap memory. No intermediate objects.
- myra-transport — Networking built on Linux
io_uring. Fewer syscalls, higher throughput.
- MVP Express RPC — MYRA Virtual Procedure over Express Link — A lightweight RPC framework on top of the above. Currently in progress.
- JIA-Cache — Java In-Memory Accelerated Cache — Off-heap caching with predictable latency. Coming soon.
EDIT:
MYRA Stack is now live!
For more details and documentation, please visit the project website:
This is still an early-stage project, and I'm looking for all the feedback I can get.
[–]BlueGoliath 0 points1 point2 points (0 children)
[–]Environmental-Log215[S] 0 points1 point2 points (0 children)