買這商品的人也買了...
相關主題
商品描述
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 和消息傳遞作為服務之間通信的解決方案。NATS 專案自 2010 年以來就已經存在,但近年來因其與雲原生應用程式和微服務架構的契合度而變得更加受歡迎。由於其卓越的性能特徵——單一伺服器每秒可以推送數百萬條消息——以及整體簡單的設計,它正迅速成為一個非常有吸引力的選擇。
首先,您將學習 NATS 的基本原理,例如其設計、協議以及它所支持的通信風格、NATS 客戶端的內部運作,以及如何使用所有官方客戶端提供的基本 API。您還將了解如何使用配置文件設置和配置 NATS 伺服器。
接下來,您將與實際項目合作,了解如何使用 NATS 作為客戶端通信的控制平面來開發生產就緒的雲原生應用程式。最後,您將學習 NATS 客戶端的進階用法,例如實現基於心跳的故障檢測器、追蹤或從單一請求中收集多個回應。
也許您對 REST 風格的 API 已經很熟悉,並希望轉向基於消息的方式。Practical NATS 是開始的完美之地。
您將學到什麼
- 使用 NATS 構建應用程式,將其用作組件之間通信的控制平面
- 探索 NATS 的基本原理,例如協議在背後的運作方式,以及客戶端提供的基本構建塊所能實現的更高級的通信風格
- 設置、操作和配置 NATS 伺服器,以及如何排除常見故障場景
本書適合誰
任何尋找解決微服務和雲原生應用程式開發中出現的一些問題的解決方案的人,例如服務發現、低延遲請求、負載平衡、追蹤和監控等。此外,對於需要進一步幫助以開始使用 NATS 的使用者來說也是如此。理想情況下,您應該對 Go 有一定的熟悉度,因為這是代碼示例所使用的語言。