# davyxu/cellnet

High performance, simple, extensible golang open source network library

Repository: https://github.com/davyxu/cellnet
Canonical: https://ross.abutalabs.com/products/cellnet
Language: Go
License: MIT
License Family: permissive
Topics: networking, game, server, rpc, protobuf, socket, tcp-server, golang
Last push: 2026-08-24T21:06:27+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4033, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4057, forks 870 (observed 2026-08-28T04:08:33.947525+00:00)

## What it is
cellnet is a high-performance, componentized, extensible open-source network library for Go, supporting TCP, UDP, HTTP, and WebSocket transports with pluggable codecs (Protobuf, JSON, binary, ProtoPlus). It provides queue-based single/multi-threaded message processing models and synchronous/asynchronous RPC, widely used for game servers and device communication.

## Use cases
- build a game server with custom binary protocols in Go
- implement RPC between backend microservices
- create a gateway server forwarding messages between clients and logic servers
- communicate with Unity3D clients using a private protocol
- build a TCP server with automatic reconnection and graceful restart
- exchange mixed-format messages (protobuf, JSON) over the same connection
- network communication between ARM/embedded devices

## When to choose
- you need a flexible, extensible socket/RPC layer for game or real-time servers in Go
- you want mixed codec support (protobuf, JSON, custom binary) without changing code
- you need queue-based concurrency models (single-threaded async, per-connection goroutines, fully concurrent)
- you want a lightweight unified peer abstraction across TCP, UDP, WebSocket, and HTTP

## When to avoid
- you need a production-grade full-featured HTTP server for large-scale web traffic (use gin or similar)
- you want a batteries-included game framework with entities, scenes, or matchmaking - cellnet is a networking layer only
- your project is not in Go

## Facets
- artifact type: library
- maturity: stable
- function: networking, rpc, serialization, websocket, http-server, message-queue
- domain: networking, backend, developer-tools
- platform: go, windows, cross-platform
- tags: tcp-server, udp, protobuf, game-server, event-queue, codec, socket, game-development, linux, macos

## Member repositories
- davyxu/cellnet (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:33.947525+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:36.753584+00:00, confidence not recorded.
  - readme: https://github.com/davyxu/cellnet (fetched 2026-08-28T04:08:33.947525+00:00, sha 7d4ac05311ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
