About NATS
NATS is a messaging system for connecting applications, services and devices, and nats-server is its Go implementation. It works as a message bus and queue for microservices and other distributed systems, and the server is a single lightweight program that runs in many different environments.
The server can run on-premise, in the cloud, at the edge and even on a Raspberry Pi. The project lists more than 40 client language implementations, so services written in different languages can talk to one another. NATS is part of the Cloud Native Computing Foundation and aims to simplify the design and operation of modern distributed systems.
NATS Server is free software under the Apache 2.0 license and is distributed through Docker images and GitHub releases. Repository topics point to uses in cloud-native microservices, connected vehicles and edge computing.
Key features
- High-performance messaging server written in Go
- Message bus and queue patterns
- Over 40 client language libraries
- Runs on-premise, in the cloud or at the edge
- Small footprint that fits a Raspberry Pi
- Docker images available
Good fit for
- Messaging between microservices
- Edge and connected-device communication
NATS: questions and answers
- What is NATS used for?
- NATS Server is a high-performance messaging server for distributed systems, microservices and edge devices, written in Go. It is a good fit for messaging between microservices, and edge and connected-device communication.
- Is NATS open source?
- Yes. NATS is open source under the Apache-2.0 licence. Its source code is on GitHub at nats-io/nats-server and is written mainly in Go.
- Is NATS free?
- Yes. NATS is open source, so the software itself is free to use.
- Can I self-host NATS?
- Yes. NATS can be self-hosted on your own server or infrastructure.
- What is NATS an alternative to?
- NATS is an open-source alternative to Stream, PubNub, Confluent and Ably. Other open-source alternatives to PubNub include RabbitMQ, Kafka and Centrifugo.
- Is NATS actively maintained?
- Yes. The most recent commit to NATS was on 11 November 2026, and the latest release is v2.15.3, published on 11 November 2026. The project has 21k stars on GitHub, with 184 added in the last 30 days.
Open-source alternatives to NATS
See all
RabbitMQ
Infrastructure & Containers
Open source RabbitMQ: core server and tier 1 (built-in) plugins
OSSvs PubNub★ 14k
Kafka
Data Pipelines & ETL
Apache Kafka - A distributed event streaming platform
Apache-2.0vs Striim★ 34k
Centrifugo
Backend as a Service
Centrifugo is an open-source real-time messaging server — a self-hosted alternative to Pub
Apache-2.0vs Pusher★ 11k
Mercure
Backend as a Service
🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communicatio
AGPL-3.0vs Pusher★ 5.4k
Deepstream.io
Backend as a Service
deepstream.io server
MITvs Pusher★ 7.2k
Flink
Open source
Apache Flink
Apache-2.0vs Matillion★ 26k
SaaS alternatives to NATS
See all
Stream
Backend as a Service
Chat, activity feeds, video and moderation APIs for in-app social features
SaaS
PubNub
Backend as a Service
Realtime messaging and presence APIs for chat, IoT and live apps
SaaS
Confluent
Data Pipelines & ETL
Managed Apache Kafka platform for streaming data in the cloud
SaaS
Ably
Backend as a Service
Realtime messaging platform with pub/sub, presence and message history
SaaS
Pusher
Backend as a Service
Hosted WebSocket channels and push notifications for realtime features
SaaS
Amazon Kinesis
Data Pipelines & ETL
AWS services for collecting, processing and analyzing real-time streaming data
SaaS

Amazon EventBridge