The Golaxy Distributed Service Development Framework aims to provide a comprehensive server-side solution for real-time communication applications. Based on the EC system and Actor thread model, the framework is designed to be simple and easy to use, making it particularly suitable for developing games and remote control systems.
This project is the core part of the framework, with the main features including:
- Entity Component Framework (
Entity Component
): Provides flexible entity and component management, supporting the creation and maintenance of complex objects. - Entity Prototype System (
Entity Prototype
): Supports the definition and reuse of entity prototypes, simplifying the creation process of entities. - Actor Thread Model (
Actor Model
): Based on the Actor model's thread processing mechanism, each Actor runs in an independent computing unit, achieving parallel task processing and enhancing the system's concurrency performance and stability. - Runtime Environment (
Runtime and Context
): Implements an independent runtime thread environment for Actors, providing mechanisms for entity management and communication calls. - Service Environment (
Service and Context
): Supports the startup, shutdown, and management of services, offering global entity management and communication call mechanisms. - AddIn System (
Add-In System
): Provides mechanisms for extending framework functions, supporting the implementation of new features in the runtime or service environments. - Local Event System (
Local Event
): Based on a code generator, it provides an efficient local event mechanism within the independent runtime thread environment of Actors. - Asynchronous Call Scheme (
Async/Await
): Supports asynchronous operations, simplifying the writing of asynchronous code, and enhancing the system's responsiveness.
Directory | Description |
---|---|
/ | Main implementation of service and runtime related functionalities. |
/define | Supports the definition of addins or components using generics, simplifying code writing. |
/ec | Entity Component Framework. |
/ec/pt | Entity Prototype System. |
/event | Local Event System. |
/event/eventc | Local Event Code Generator. |
/extension | Add-In System. |
/runtime | Runtime Context. |
/service | Service Context. |
/utils | Various utility classes and functions. |
For more details, see: Examples
go get -u git.golaxy.org/core