Practical NATS: From Beginner to Pro pdf

时间:2021-06-28 02:37:58
【文件属性】:

文件名称:Practical NATS: From Beginner to Pro pdf

文件大小:4.75MB

文件格式:PDF

更新时间:2021-06-28 02:37:58

go nats golang cloudnative

Learn to use NATS and messaging as a solution for communication between services. The NATS project has been around since 2010, but it has become more popular in recent years due to how well it fits into the paradigm of cloud native applications and microservices architectures. It’s fast becoming a very attractive option thanks to its great performance characteristics--a single server can push millions of messages per second--and overall simple design. First you will learn the fundamentals of NATS, such as its design, protocol and the styles of communications it enables, internals of the NATS clients, and how to use the basic API provided by all the official clients. You will also understand how to setup and configure NATS servers using the configuration file. Next you'll work with real-world projects and see how to develop a production-ready cloud native application using NATS as the control plane over which clients communicate. Finally you’ll learn advanced usage of the NATS clients, such as implementing heartbeats based failure detectors, tracing or collecting multiple responses from a single request. Perhaps you are familiar with REST-style APIs, and want to make the transition into a messaging-based approach instead. Practical NATS is the perfect place to start. What You'll Learn Use NATS to build applications which use it as the control plane for communication among components Explore the fundamentals of NATS such as how the protocol works under the hood to more advanced communication styles which are possible with the basic building blocks provided by the client Setup, operate, and configure NATS servers, as well as how to troubleshoot common failure scenarios Who This Book Is For Anyone looking for a solution for some of the problems which come along with microservices and cloud native application development, such as service discovery, low latency requests, load balancing, tracing and monitoring for example. Also adopters of NATS who need further help getting started using it. Ideally you should have some familiarity with Go as that is the language of the code examples. NATS is a high-performance messaging system created by Derek Collison in 2010. It was originally built to serve as the message bus for Cloud Foundry, handling internal communication among components of the system. With the rise of microservices and cloud native paradigms, NATS has increased in popularity, becoming a mainstream piece of modern cloud architectures. The nats-io/gnatsd repository in GitHub now has over 3K stars and there is a growing ecosystem of tools and projects that us NATS as part of their architecture, as many have found it useful to address concerns such as: • Service discovery • Low latency communication • Load balancing • Notifications and events handling


网友评论