Nexus Cache Orchestrator icon

Nexus Cache Orchestrator -----

Central data orchestration layer using Redis Pub/Sub and MongoDB for distributed server systems.



Central Data Orchestrator for Distributed Minecraft Servers (Redis + MongoDB)


What is Nexus Core?
Nexus Core is a standalone Java a[​IMG] plication that acts as the central orchestration layer for a distributed Minecraft network. Instead of every Spigot server connecting directly to MongoDB and managing its own cache, all data operations are delegated to Nexus Core through a Redis pub/sub message bus.


Core Components
NexusApplication
The main entry point and bootstrapper. Initializes the Redis connection, MongoDB client, and loads all registered DataAddon instances into the registry. Exposes getDataSize() and getAddonSize() for the live dashboard.

DataAddon
The abstract base class that defines a data module. Each addon maps to exactly one MongoDB collection and one Redis key namespace. You extend this class to add new data types to the network.

ProtocolHandler
A thread-safe Map<Integer, DataAddon> keyed on addonId(). When a packet arrives with protocol: 500, the registry looks up the corresponding addon in O(1) and delegates the operation.

NexusJsonDataContainer
A thin wrapper around a JSON object that is passed into handleRequest(). Provides helper methods for reading typed values from the packet payload without null-pointer noise.

Dashboard (Main.java)
A Swing-based live monitoring UI built entirely with Java2D — no external UI frameworks. Displays real-time JVM CPU, process RAM, cache object count, and addon count with animated donut charts and scrolling line graphs.

Getting Started
Prerequisites
  • Java 17+
  • A running Redis instance (redis-server)
  • A running MongoDB instance (mongodb)

Resource Information
Author:
----------
Total Downloads: 4
First Release: Jun 4, 2026
Last Update: Jun 4, 2026
Category: ---------------
All-Time Rating:
0 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings