- 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.
推薦閱讀
- Java逍遙游記
- ServiceNow Application Development
- Java程序設計與開發
- 小創客玩轉圖形化編程
- Developing Mobile Web ArcGIS Applications
- Python爬蟲開發:從入門到實戰(微課版)
- C和C++安全編碼(原書第2版)
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- Java程序設計與實踐教程(第2版)
- Integrating Facebook iOS SDK with Your Application
- C++寶典
- SQL Server實用教程(SQL Server 2008版)
- Python硬件編程實戰
- Java程序設計實用教程(第2版)
- 軟件測試技術