NATS Messaging
Developer(s) | Apcera |
---|---|
Stable release |
0.9.4
/ August 2016 |
Development status | Active |
Written in | Go |
Operating system | Cross-platform |
Type | Message broker, Open Source Messaging, message-oriented middleware |
License | MIT |
Website |
www |
NATS is an open source messaging system (sometimes called message-oriented middleware). 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.[2]
Apcera develops and provides support for NATS. 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 MIT License. NATS consists of:
- The NATS Server - The core Publish-Subscribe Server for NATS.
- NATS Streaming - A data streaming system powered by NATS that adds persistence, message replay, durable subscriptions, etc. to NATS.
- Client libraries for a variety of programming languages
- A connector framework - a pluggable Java based framework to connect NATS and other services.
Example
Below you can see a sample connection string from a telnet connection to the demo.nats.io site[3]
telnet demo.nats.io 4222
Trying 107.170.221.32...
Connected to demo.nats.io.
Escape character is '^]'.
INFO {"server_id":"1ec445b504f4edfb4cf7927c707dd717","version":"0.6.6","go":"go1.4.2","host":"0.0.0.0",
"port":4222,"auth_required":false,"ssl_required":false,"max_payload":1048576}
References
- ↑ Repository Mirror at GitHub
- ↑ http://nats.io/documentation/
- ↑ "NATS Protocol". NATS Documentation. Retrieved 6 May 2016.
Further reading
- Aslam, Asim. "Micro on NATS - Microservices with Messaging". Micro Blog. Retrieved 6 May 2016.
- Werthheim, Daniel. "NATS - What a beautiful protocol". Retrieved 4 May 2016.
- Riggins, Jennifer. "How NATS, a REST Alternative, Provides Messaging for Distributed Systems". TheNewStack. TheNewStack. Retrieved 6 May 2016.
- Monteiro, Diogo. "Using NATS instead of HTTP for inter service communication". Diogo GMT. Retrieved 2 May 2016.
- Sohlich, Radomir. "NATS to REST Proxy". NATS Blog. Retrieved 1 May 2016.
- Gracely, Brian; Delp, Aaron. "NATS - Cloud Native Infrastructure". The CloudCast. Retrieved 23 December 2015.
- "A signaling system for 10M+ concurrent connections". Greta.io. Greta. Retrieved 6 May 2016.
- Treat, Tyler. "Benchmarking Message Queue Latency". Brave New Geek.
- Fulton III, Scott. "NATS Moves to Real-time Message Streaming with Persistence". The New Stack. Retrieved 19 July 2016.
This article is issued from Wikipedia - version of the 10/4/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.