# apple/swift-nio

Event-driven network application framework for high performance protocol servers & clients, non-blocking.

Repository: https://github.com/apple/swift-nio
Canonical: https://ross.abutalabs.com/products/swift-nio
Homepage: https://swiftpackageindex.com/apple/swift-nio/documentation
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, asynchronous-io, networking, event-driven, high-performance, non-blocking-io, non-blocking, swiftnio, swift5, swift-server
Last push: 2026-08-26T08:05:24+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 93, longevity 100
- inputs: {"age_days": 3130, "days_push": 7, "days_rel": 49, "gap_med": 13, "n_releases_24m": 42}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8510, forks 789 (observed 2026-08-28T04:10:23.222561+00:00)

## What it is
SwiftNIO is a cross-platform, event-driven, non-blocking network application framework for Swift, similar to Netty, for building high-performance protocol servers and clients. It provides core abstractions like EventLoops and Channels, with ecosystem packages for TLS, HTTP/2, SSH, QUIC, and HTTP/3.

## Use cases
- build a high-performance TCP server in Swift
- write a custom network protocol client
- implement a non-blocking HTTP server
- add TLS support to a Swift networking stack
- build protocol servers and clients on Apple platforms
- handle thousands of concurrent connections efficiently

## When to choose
- you need low-level, high-performance non-blocking I/O in Swift
- you're building custom protocol implementations or servers
- you want a Netty-style framework in the Swift ecosystem
- you need cross-platform networking for Swift server-side or Apple platforms

## When to avoid
- you just need a simple high-level HTTP client or server without performance tuning
- you're not developing in Swift
- you want batteries-included web framework features like routing and templating out of the box

## Facets
- artifact type: framework
- maturity: stable
- function: networking, http-server, websocket, concurrency, middleware
- domain: networking, backend, developer-tools, microservices
- platform: cross-platform
- tags: event-driven, non-blocking-io, netty-like, protocol-servers, async-io, swift-server, swift, linux, macos

## Member repositories
- apple/swift-nio (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.222561+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-29T17:26:41.651165+00:00, confidence not recorded.
  - readme: https://github.com/apple/swift-nio (fetched 2026-08-28T04:10:23.222561+00:00, sha 1af3b379355a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
