- Building Microservices with Go
- Nic Jackson
- 101字
- 2021-07-15 17:28:11
503 Service Unavailable
The server is currently unavailable due to temporary overloading or maintenance. There is a rather useful pattern that you can implement to avoid cascading failure in the instance of a malfunction in which the microservice will monitor its internal state and in the case of failure or overloading will refuse to accept the request and immediately signal this to the client. We will look at this pattern more in chapter xx; however, this instance is probably where you will be wanting to return a 503 status code. This could also be used as part of your health checks.
推薦閱讀
- Learn TypeScript 3 by Building Web Applications
- 架構不再難(全5冊)
- 三維圖形化C++趣味編程
- 編程珠璣(續)
- 數據結構(Python語言描述)(第2版)
- Visual C++串口通信技術詳解(第2版)
- PHP 編程從入門到實踐
- 深入理解Elasticsearch(原書第3版)
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- Hadoop大數據分析技術
- ASP.NET 4.0 Web程序設計
- Arduino機器人系統設計及開發
- Unity Android Game Development by Example Beginner's Guide
- Java高并發編程詳解:深入理解并發核心庫
- 現代CPU性能分析與優化