Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21bff734dbb51f9

Jump to content

NATS Messaging

From Wikipedia, the free encyclopedia
NATS
DeveloperCloud Native Computing Foundation
Release2011 [1]
Stable release
2.14.0 / April 30, 2026; 2 months ago (2026-04-30)
Written inGo
Operating systemCross-platform
TypeMessage broker, message-oriented middleware
LicenseApache 2.0
Websitewww.nats.io
Repositorygithub.com/nats-io/nats-server

NATS ("Neural Autonomic Transport System"[2]) is an open-source messaging system developed under the stewardship of the Cloud Native Computing Foundation. The NATS server is written in the Go programming language. Client libraries to interface with the server are available for dozens of major programming languages. The core design principles of NATS are performance, scalability, and ease of use.[3]

NATS was originally developed by Derek Collison as the messaging control plane for Cloud Foundry and was written in Ruby. NATS was later ported to Go.

The source code is released under the Apache 2.0 License. NATS consists of:

The NATS server is often referred to as either 'Core NATS' or NATS with 'JetStream'. 'Core NATS' is the set of core NATS functionalities and qualities of service. 'JetStream' is the (optionally enabled) built-in persistence layer that adds streaming, queues, at-least-once and exactly-once delivery guarantees, historical data replay, decoupled flow-control and key/value store functionalities to Core NATS.[2] JetStream replaced the old STAN (NATS Streaming) approach.[4]

Example

[edit]

Below is a sample connection string from a telnet connection to the demo.nats.io site:[5]

Trying 107.170.221.32...
Connected to demo.nats.io.
Escape character is '^]'.
INFO {"server_id":"NDH3TUKI4Q5S72ESTECUI6AN7GWZT7VGLMQ6NJTIZTIPFK65OTRERVLZ","server_name":"nats-demo-us-tx","version":"2.12.8","proto":1,"git_commit":"e9559e9","go":"go1.25.9","host":"0.0.0.0","port":4222,"headers":true,"tls_available":true,"max_payload":1048576,"jetstream":true,"client_id":37220096,"client_ip":"2605:a601:a0f6:c100:84d:60c8:7e1f:37b7","nonce":"oiCSqsFWATMKZkc","api_lvl":3,"xkey":"XCCVI7W3IKXVZEI7JXNPM6OX76H2HXI4GGCOIBGCDQUAO6XEDGRERHHV"}

References

[edit]
  1. "Release v0.3.12 · nats-io/Nats.rb". GitHub.
  2. 1 2 "NATS FAQ".
  3. "NATS Documentation".
  4. "NATS JetStream".
  5. "NATS Protocol". NATS Documentation. Retrieved 6 May 2016.

See also

[edit]

Further reading

[edit]