Our Products
Four production-ready components that work together or independently
Roray FFM Utils
Foundation Layer
The foundation of the MVP.Express stack. Provides off-heap memory management, native syscall access, and utilities built on JDK's Foreign Function & Memory API.
Key Features
- Off-heap memory allocation with automatic cleanup
- Type-safe memory layouts and structured access
- Native syscall bindings for Linux
- Reference counting for shared memory segments
- Arena-based memory management
// Allocate off-heap memory with automatic cleanup
try (var arena = Arena.ofConfined()) {
var segment = arena.allocate(1024);
// Type-safe structured access
var layout = MemoryLayout.structLayout(
ValueLayout.JAVA_INT.withName("id"),
ValueLayout.JAVA_LONG.withName("timestamp")
);
var handle = layout.varHandle(
PathElement.groupElement("id"));
handle.set(segment, 0, 42);
}Myra Codec
Serialization Layer
Schema-driven binary serialization with zero-copy paths, full schema evolution, and support for complex types including unions and optional fields.
Key Features
- Schema-first design with YAML/JSON definitions
- Zero-copy serialization for maximum throughput
- Full schema evolution with compatibility checks
- Union types and optional fields
- Code generation for type-safe access
# schema.myra.yml
namespace: com.example
types:
User:
id: int64
name: string
email: string?
role: UserRole
UserRole:
union:
- Admin: { level: int32 }
- Member: { joinDate: timestamp }Myra Transport
Network Layer
High-performance networking built on Linux io_uring for true async I/O with zero-copy buffer management and kernel bypass capabilities.
Key Features
- io_uring for async I/O (Linux 5.1+)
- Zero-copy buffer management
- 2.1M+ messages/second throughput
- Backpressure and flow control
- Connection pooling and multiplexing
// Create high-performance server
var server = MyraServer.builder()
.port(8080)
.transport(IoUringTransport.create())
.handler(message -> {
// Process with zero-copy access
var request = message.payload();
return Response.ok(process(request));
})
.build();
server.start();MVP.Express
RPC Framework
MVP.Express stands for MYRA Virtual Procedure over Express Link—MYRA's RPC framework built entirely using MYRA libraries. Complete RPC solution with schema-first design, code generation, streaming support, and seamless integration with the entire stack.
Key Features
- Schema-first service definitions
- Generated clients and servers
- Unary and streaming RPC patterns
- Built-in error handling and retries
- Observability and metrics
# service.myra.yml
namespace: com.example
services:
UserService:
methods:
getUser:
request: GetUserRequest
response: User
listUsers:
request: ListUsersRequest
response: stream UserHow We Compare
MVP.Express vs traditional Java infrastructure
| Feature | MVP.Express | Traditional |
|---|---|---|
| Memory Model | Zero-copy off-heap | Heap-based |
| I/O Model | io_uring async | epoll/NIO |
| Serialization | Schema-driven binary | JSON/Protobuf |
| GC Pressure | Minimal | Significant |
| Native Code | Pure Java (FFM) | JNI required |
| Type Safety | Full compile-time | Runtime checks |