2 个仓库
Dispatching incoming packets to registered handler functions by matching a numeric message identifier embedded in the packet header.
Distinct from Type-Based Message Routing: Distinct from Type-Based Message Routing: routes by a numeric ID in the packet header, not by message type.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Numeric Message Identifiers. Refine with filters or upvote what's useful.
Zinx is a lightweight TCP server framework written in Go that provides a structured foundation for building scalable network applications. It combines a goroutine-pool worker model for concurrency control with message-ID-based routing, enabling efficient packet dispatching to registered handler functions. The framework distinguishes itself through its modular plugin architecture, which organizes server components like routers, connections, and message modules as interchangeable plugins for extensibility. It uses packet-header length prefixing for reliable TCP stream framing, assigns a dedicat
Routes incoming packets to handler functions based on a numeric message identifier in the packet header.
Cellnet 是一个 Go 网络框架,专为构建分布式系统和点对点网络而设计。它提供了一个多协议传输层,标准化了 TCP、UDP 和 WebSocket 之间的消息交换,并利用二进制消息编解码系统将消息类型映射到网络传输的唯一标识符。 该框架的特色在于其远程过程调用(RPC)库,它支持使用同步或异步请求模式在远程对等点上执行函数。它还通过异步事件调度器进一步区分,该调度器通过顺序执行模型处理网络回调,以管理并发性和线程安全。 其更广泛的功能包括通过可插拔序列化编解码器进行自定义网络协议开发、带有会话跟踪和重连逻辑的自动化对等点连接管理,以及用于引导网络流量的基于处理器的路由系统。它还集成了用于监控对等点健康状况、记录网络流量以及通过 HTTP 提供文件服务的工具。
Provides tools to generate source files that bind messages to a codec system for automatic network recognition.