# NATS

High-Performance server for NATS.io, the cloud and edge native messaging system.

Repository: https://github.com/nats-io/nats-server
Canonical: https://ross.abutalabs.com/products/nats
Homepage: https://nats.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, golang, messaging, message-bus, message-queue, cloud-native, microservices-architecture, nats-server, distributed-systems, cloud, cloud-computing, connected-vehicle, edge, edge-ai, edge-computing
Last push: 2026-08-26T18:46:13+00:00
Link (homepage): https://nats.io
Link (site_page): https://nats.io/about
Link (site_page): https://docs.nats.io
Link (site_page): https://docs.nats.io/running-a-nats-service/introduction/installation

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

## Adoption (not part of the score)
Stars 20603, forks 1914 (observed 2026-08-28T04:11:30.261968+00:00)

## What it is
NATS Server is a high-performance, lightweight open-source messaging system written in Go that provides pub/sub, request/reply, and durable streaming (via JetStream) in a single dependency-free binary. It connects services, devices, and agents across cloud, on-premise, and edge environments with sub-millisecond latency and 40+ client libraries.

## Use cases
- connect microservices with lightweight pub/sub messaging
- stream events with persistence between cloud and edge
- decouple services with request/reply messaging
- run a message bus on resource-constrained edge devices
- build a distributed key-value or object store
- replace multiple messaging tools with one connective fabric
- cluster messaging across globally distributed datacenters

## When to choose
- you need a single lightweight binary with minimal RAM and no external dependencies
- you need sub-millisecond latency and millions of messages per second
- you want pub/sub, queueing, streaming, KV, and object storage in one system
- you deploy across cloud, on-premise, and edge including IoT devices
- you need clients in many languages (Go, Python, Rust, Java, JS, etc.)

## When to avoid
- you need heavy enterprise message brokering with JMS/AMQP semantics
- you rely on complex routing transformations or protocol bridges Kafka-style ecosystems provide
- you need long-term archival storage with built-in SQL-like query capabilities
- your team requires a GUI-managed broker with extensive third-party tooling

## Facets
- artifact type: service
- maturity: stable
- function: message-queue, streaming, rpc, caching, object-storage, http-server
- domain: microservices, cloud-computing, iot, backend
- platform: windows, cloud, self-hosted, go, cross-platform
- tags: pub-sub, jetstream, request-reply, key-value-store, edge-computing, cloud-native, cncf, lightweight, single-binary, leaf-nodes, clustering, messaging, real-time, devops, linux, macos, docker, kubernetes

## Member repositories
- nats-io/nats-server (main) score 98
- nats-io/nats.go (sdk) score 98
- nats-io/nats.node (sdk) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:30.261968+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-29T16:58:40.901083+00:00, confidence not recorded.
  - readme: https://github.com/nats-io/nats-server (fetched 2026-08-28T04:11:30.261968+00:00, sha 53fde7136f05)
  - homepage: https://nats.io (fetched 2026-08-29T07:57:43.433460+00:00, sha 5e473e44be25)
  - site_page: https://nats.io/about (fetched 2026-08-29T07:57:43.438767+00:00, sha 8d4a983ed0a7)
  - site_page: https://docs.nats.io (fetched 2026-08-29T07:57:43.440845+00:00, sha 4787c0141dc2)
  - site_page: https://docs.nats.io/running-a-nats-service/introduction/installation (fetched 2026-08-29T07:57:43.442493+00:00, sha 99c366b7677a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
