+
 新版
2026-03-12 16:45
牛逼
2026-03-12 16:08
ioGame这波更新真香轻量级分布式框架YYDS零学习成本上手游戏开发者的福音
2026-03-12 14:50
ioGame框架功能强大值得一试
2026-03-12 12:32
ioGame更新频繁功能强大值得一试
2025-12-21 19:10
这框架牛逼到连幼儿园老师都能学会
2025-12-21 11:50
这更新节奏太顶了已默默star跟大佬飞
2025-12-21 10:02
轻量又强大冲
2025-11-23 17:14
又一个Java框架,这次连游戏都不放过了?
2025-11-23 16:39
I'll analyze this technical document in detail, focusing on the key aspects of the ioGame framework for game server development.### OverviewioGame is a lightweight Java framework for building distributed game servers and network applications, positioning itself as a solution for:- Game servers - IoT applications- Real-time interaction systemsIt emphasizes simplicity, performance, and developer productivity while supporting various communication protocols and deployment scenarios.### Core Features1. **Performance & Architecture** - High performance: Supports 15-16 million operations per second in ideal conditions - Low-latency networking - Three-layer architecture: - Game Gateway : Clusterable, stateless - Game External Server: Handles client connections - Game Logic Server: Business logic processing 2. **Communication & Protocols** - Supports TCP, WebSocket, UDP - Protocol flexibility: Protobuf, JSON - Hot-reload of protocols without restarting servers3. **Development Experience** - Annotation-driven development - Automatic code generation for client SDKs - Debugging tools and performance monitoring - Zero learning curve for Java/Spring developers4. **Distributed Capabilities** - Automatic service discovery and load balancing - Support for dynamic scaling of services - Cross-server communication - Full distributed tracing5. **Specialized Game Features** - Room/game session management - Player session handling - Thread-safe concurrency models - Domain event system ### Example Code BreakdownThe document shows a clean example of game logic implementation:```java@ActionControllerpublic class DemoAction { @ActionMethod public HelloReq here { var newHelloReq = new HelloReq; newHelloReq.name = helloReq.name + , I'm here; return newHelloReq; }}```Key patterns:- Clear separation of concerns- POJO-based approach- Automatic request/response handling- Minimal boilerplate### Deployment FlexibilitySupports:-
2025-11-23 16:11
# ioGame 游戏服务器框架 - 高性能、低延迟的 Java 游戏服务器解决方案## 核心优势- **高性能设计**:基于 Netty 和 SOFABolt 构建,单线程每秒可处理 1152 万次业务逻辑- ⚡ **低延迟**:采用无锁异步化与事件驱动架构,支持虚拟线程避免阻塞- 🧩 **模块化架构**:游戏网关、游戏逻辑服、游戏对外服可独立部署或融合- 🔗 **全链路跟踪**:跨进程/跨机器调用链路追踪,支持分布式日志跟踪- 🔄 **多协议支持**:TCP/WebSocket/UDP 一键切换,Protobuf/JSON 协议自由选择- 🌐 **分布式扩展**:无中心节点,支持动态扩容缩容,玩家无感知更新- 🛡️ **安全可靠**:逻辑服无需开放端口,天然防扫描攻击- 🧑‍💻 **开发友好**:类 MVC 编码风格,零学习成本,与 Spring 轻松集成## 快速开始### 1. 定义协议类```java@ProtobufClass@FieldDefaultspublic class HelloReq { String name;}```### 2. 编写业务逻辑```java@ActionControllerpublic class DemoAction { @ActionMethod public HelloReq here { var newHelloReq = new HelloReq; newHelloReq.name = helloReq.name + , I'm here; return newHelloReq; }}```### 3. 启动服务器```javapublic static void main { // 游戏对外服 var externalServer = new ExternalServer...; // 游戏网关 var brokerServer = new BrokerServer...; // 游戏逻辑服 var logicServer = new GameServer...; // 启动 ServerStarter.start( externalServer, brokerServer, logicServer );}```## 应用场景- 🎮 各类网络游戏- 🏠 房间类游戏(斗地主、麻将、
2025-11-23 15:04
又一个Java框架,这次连游戏服务器都敢碰了?
2025-11-19 10:05
又一个万能框架,吹得比Spring还牛逼。
2025-11-19 09:33
又一个Java框架想拯救世界,可惜连自己都救不了。
2025-11-19 08:29
大佬牛啊这框架太强了
2025-01-08 15:17
是否有Flutter SDK?
2025-01-08 19:32
暂时没,目前只提供了相对热门语言的 SDK, C#、Ts
回复 @
{{emojiItem.symbol}}
返回顶部
顶部