# beetlex-io/BeetleX

high performance dotnet core socket tcp communication components,  support TLS, HTTP, HTTPS, WebSocket, RPC, Redis protocols, custom protocols  and 1M connections problem solution

Repository: https://github.com/beetlex-io/BeetleX
Canonical: https://ross.abutalabs.com/products/beetlex
Language: C#
License: Apache-2.0
License Family: permissive
Topics: tcp, socket, socket-server, socketasynceventargs, ssl, non-blocking, websocket, rpc-framework, rpc-server, http-server, https, tls, webserver, websocket-server, mqtt, mqtt-client, mqtt-server, rpc, websockets, tcp-server
Last push: 2024-08-05T14:49:02+00:00

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

## Adoption (not part of the score)
Stars 1202, forks 246 (observed 2026-08-28T04:03:58.505066+00:00)

## What it is
BeetleX is a high-performance .NET socket communication library supporting TCP, TLS, HTTP, HTTPS, WebSocket, MQTT, RPC, and Redis protocols with custom protocol extension. It provides async non-blocking I/O built on SocketAsyncEventArgs and solutions for handling very large numbers of concurrent connections.

## Use cases
- build a high-performance tcp server in dotnet
- serve http and websocket traffic from a custom dotnet server
- implement an rpc server over tcp in c#
- build an mqtt broker or client in dotnet
- handle one million concurrent socket connections
- create a custom binary protocol server with tls support

## When to choose
- you need fine-grained, high-performance socket control in .NET beyond what built-in HttpListener or Kestrel abstractions offer
- you want a single library covering tcp, websocket, mqtt, and rpc protocols
- you need to support extremely large connection counts with non-blocking I/O

## When to avoid
- you just need a standard web api - ASP.NET Core is more mainstream and better supported
- your team prefers batteries-included frameworks with large ecosystems over lower-level components
- you need guaranteed long-term maintenance - the project is smaller and community-driven

## Facets
- artifact type: library
- maturity: active
- function: http-server, websocket, rpc, networking, middleware
- domain: networking, backend, web-development, developer-tools
- platform: dotnet, cross-platform, windows
- tags: tcp-server, socket-programming, tls, mqtt, high-performance, non-blocking-io, csharp, linux, macos

## Member repositories
- beetlex-io/BeetleX (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.505066+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-30T06:20:34.810316+00:00, confidence not recorded.
  - readme: https://github.com/beetlex-io/BeetleX (fetched 2026-08-28T04:03:58.505066+00:00, sha 89abe5663047)
- Data as of 2026-08-30T08:39:29.467469+00:00.
