- 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.
推薦閱讀
- Kubernetes實戰(zhàn)
- Building a Game with Unity and Blender
- 神經(jīng)網(wǎng)絡(luò)編程實戰(zhàn):Java語言實現(xiàn)(原書第2版)
- Learning Informatica PowerCenter 10.x(Second Edition)
- Python數(shù)據(jù)分析(第2版)
- Python Network Programming Cookbook(Second Edition)
- HTML5從入門到精通(第4版)
- Machine Learning in Java
- Kivy Cookbook
- 零代碼實戰(zhàn):企業(yè)級應(yīng)用搭建與案例詳解
- C#面向?qū)ο蟪绦蛟O(shè)計(第2版)
- After Effects CC案例設(shè)計與經(jīng)典插件(視頻教學(xué)版)
- Mastering Object:Oriented Python(Second Edition)
- Java EE輕量級解決方案:S2SH
- Visual C++程序設(shè)計全程指南