Alliance Games
  • INTRODUCTION
    • Getting Started
  • The Worker Network
    • The Worker Network
      • Alliance Edge Nodes
        • What is Edge Nodes
        • Earning Mechanism
        • How to set up Edge Nodes
        • Detailed Instructions for Mac
        • Detailed Instructions for Windows
        • Troubleshooting
      • Alliance Micro Nodes
        • What is Alliance Micro Node?
        • Earning Mechanism
        • How set up and use Micro Node
        • Special Rewards: Invite Friends to earn USDT
      • Alliance Lite Nodes
        • What is Alliance Lite Node?
        • Earning Mechanism
        • How to Set Up and Use Lite Node
  • Start to Earn
    • Contribute and Earn $COA Airdrop
      • Referral Program
        • Referral Program for Edge Node and Alliance Pass
        • Special Rewards: Invite Friends to earn USDT
      • What is Alliance Pass
      • How to Mint Alliance Pass
      • What is $WORK,$mcWORK, $ltWORK
      • What is Alliance Points
  • Multiplayer Network
    • Introduction
    • Architecture Overview
    • Session Logic and Timing Challenges
    • Developer Integration & SDK Support
    • Node Framework and Task Management
  • AI CREATION
    • From Concept to Completion
    • AI Games Builder
    • Basic Mode - Easy Start, Instant Results
    • Dev Mode - Advanced Customization for Serious Developers
    • AI Games Marketplace
  • Technical Structure
    • Overview
    • Hybrid AI Architecture
    • Decentralized Physical Infrastructure Network
    • AI Model and Dataset Management
    • Data and Storage Management
    • Load Balancing and Data Routing
  • FAQ
    • FAQ
Powered by GitBook
On this page
  • Version Handler
  • Session Handler
  • Proof Handler
  • Timeout Handler
  • Task Execution and Worker Pool
  1. Multiplayer Network

Node Framework and Task Management

The Node Framework is designed to ensure seamless and autonomous operation of nodes within the decentralized network. It comprises multiple specialized components, each responsible for different aspects of node functionality.

Version Handler

The Version Handler periodically checks for updates to dApp versions. When a new version is detected, it automatically schedules the update process, replacing the outdated version. If a dApp version is deprecated, it is removed from the system, ensuring only active and verified versions are deployed on nodes.


Session Handler

The Session Handler is responsible for detecting new game sessions and managing their initialization. When a session request is received, the Session Handler checks if the required resources (CPU, RAM, and storage) are available. If resources are sufficient, it deploys the necessary game logic container and starts the session.

To optimize resource allocation, sessions are dynamically assigned to nodes based on real-time load balancing. This ensures that no single node is overwhelmed while keeping resource utilization efficient across the network.


Proof Handler

The Proof Handler plays a crucial role in verifying session outcomes. As game sessions progress, nodes generate proofs detailing session events and results. These proofs are collected and validated to confirm their integrity.

Once a session concludes, the Proof Handler ensures the generated proof is cryptographically signed and submitted to the network for validation. This allows for transparent and verifiable game outcomes, ensuring fairness and accountability across the system.


Timeout Handler

The Timeout Handler ensures that inactive or orphaned session containers are properly terminated. In cases where a session should end but fails to exit normally, the Timeout Handler enforces automatic cleanup to free up system resources. This prevents unnecessary congestion and ensures the network remains stable and efficient.


Task Execution and Worker Pool

To manage the execution of various node operations efficiently, the Node Framework includes a Worker Pool with a dynamic Task Queue. This mechanism allows the system to process high volumes of tasks concurrently while prioritizing critical operations.

Each task—such as verifying a new proof, initializing a game session, or handling an update request—is queued and executed based on priority levels. This ensures responsiveness and scalability, even under high network load conditions.


With this framework, nodes in the Alliance Games Multiplayer Network can operate autonomously with minimal manual intervention, creating a self-sustaining and resilient decentralized backend for multiplayer gaming.

PreviousDeveloper Integration & SDK SupportNextFrom Concept to Completion

Last updated 2 months ago