This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new ef7e528040 Update mock.md (#2521)
ef7e528040 is described below
commit ef7e52804079fefbceaafb6cab8b723561d6e070
Author: Mford Jody <[email protected]>
AuthorDate: Sat Apr 15 11:31:06 2023 +0800
Update mock.md (#2521)
---
content/zh-cn/overview/tasks/traffic-management/mock.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/zh-cn/overview/tasks/traffic-management/mock.md
b/content/zh-cn/overview/tasks/traffic-management/mock.md
index b1f02ffb2f..a93681f7cc 100644
--- a/content/zh-cn/overview/tasks/traffic-management/mock.md
+++ b/content/zh-cn/overview/tasks/traffic-management/mock.md
@@ -5,7 +5,7 @@ description: ""
linkTitle: 服务降级
title: 在大促之前对弱依赖调用进行服务降级
type: docs
-weight: 9
+weight: 8
---
@@ -68,4 +68,4 @@ configs:
服务降级功能也可以用于开发测试环境,由于微服务分布式的特点,不同的服务或应用之间都有相互依赖关系,因此,一个服务或应用很难不依赖其他服务而独立部署工作。但测试环境下并不是所有服务都是随时就绪的状态,这对于微服务强调的服务独立演进是一个很大的障碍,通过服务降级这个功能,我们可以模拟或短路应用对其他服务的依赖,从而可以让应用按照自己预期的行为
Mock 外部服务调用的返回结果。具体可参见 [Dubbo Admin 服务 Mock](/) 特性的使用方式。
-Dubbo 的降级规则用来设置发生降级时的行为和返回值,而对于何时应该执行限流降级动作,即限流降级时机的判断并没有过多涉猎,这一点 Dubbo
通过集成更专业的限流降级产品如 Sentinel 进行了补全,可以配合 Dubbo 降级规则一起使用,具体可参见
[限流降级](../../ecosystem/rate-limit/) 文档。
\ No newline at end of file
+Dubbo 的降级规则用来设置发生降级时的行为和返回值,而对于何时应该执行限流降级动作,即限流降级时机的判断并没有过多涉猎,这一点 Dubbo
通过集成更专业的限流降级产品如 Sentinel 进行了补全,可以配合 Dubbo 降级规则一起使用,具体可参见
[限流降级](../../ecosystem/rate-limit/) 文档。