1.0.0-SNAPSHOTDevelopment branch · Start exploring from sourceRead the getting-started guide →
Nnextrix.
THE NEXTRIX FRAMEWORK

Build your next
real-time world.

A lightweight, fully asynchronous game-server framework.
Bring connections, messages, application logic, and cluster coordination into one modular stack.

ASYNCHRONOUS BY DESIGNJAVA 25APACHE 2.0
ONE FRAMEWORK. CONNECTED LAYERS.
YOUR REAL-TIME WORLDPlayers · Rooms · Services
↓
01FrameworkActions / Messages / Streams↗02ClusterDiscovery / Routing / RPC↗03NexusQUIC / TCP / WebSocket↗
⌁ TELEMETRYTRACES + METRICS
NX_STACK / JAVA / DEVELOPMENT
Familiar foundations. Real-time applications.NettySpring BootQUICOpenTelemetryProtobuf
01 / WHY NEXTRIX

From connection to application.
A foundation for interaction.

Give infrastructure clear boundaries.
Give application code room to breathe.

01 / INTERACTION

More than request-response

Express interactions with requests, notifications, and frame streams. Return business results through Result or CompletionStage.

02 / COMPOSITION

Modular by construction

Separate networking, application, and cluster responsibilities. Choose transport, discovery, serialization, and telemetry modules.

03 / VISIBILITY

Understand the running system

Integrate traces and metrics through OpenTelemetry, with explicit module contracts that define observation boundaries.

02 / THE PROJECTS

One framework. A modular stack.

Browse 24 projects →
Networking↗

Nexus Core

Core networking interfaces, including NX frame codecs and NXPACK.

nextrix-nexus/nextrix-nexus-core
NX · Frames · CodecSource
Application⌘

Framework Core

Core business handling, dispatch, and framework runtime components.

nextrix-framework/nextrix-framework-core
Action · DispatchSource
Cluster⬡

Cluster Core

Routing, instance selection, and typed distributed cache interfaces.

nextrix-cluster/nextrix-cluster-core
Routing · CacheSource
Observability⌁

OpenTelemetry

The primary tracing and metrics implementation, included in the default build.

nextrix-telemetry/nextrix-telemetry-opentelemetry
Traces · MetricsSource
03 / DEVELOPER EXPERIENCE

Write the handler.
Make the interaction happen.

Express application logic with familiar Java methods. Declare a route, accept a message, and return a result. Explore asynchronous work and streams as you need them.

Read the Actions guide →
HelloWorldAction.java
import org.springframework.stereotype.Controller;
import io.nextrix.framework.Result;
import io.nextrix.framework.support.ControllerSupport;
import io.nextrix.framework.config.annotation.RouteMapping;

@Controller
@RouteMapping("hello")
public class HelloWorldAction extends ControllerSupport {
    @RouteMapping("sayHello")
    public Result sayHello(String content) {
        return ok().withBody("content=hi!");
    }
}
Source excerpt / Read with the complete example and environment configuration
04 / LEARN BY BUILDING

Find your starting point.

Browse all examples →
EXPLORE. UNDERSTAND. BUILD.

Your next real-time world starts here.

Learn the concepts in the guides. Find the details in the source.

Read the quickstart ↗
⌕
Type to search · Tab to select a result · Esc to close