Skip to content

Commit

Permalink
Update dubbo.md (#2436)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfordjody committed Mar 27, 2023
1 parent b5b6a41 commit a17c829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/zh-cn/overview/what/ecosystem/protocol/dubbo.md
Expand Up @@ -5,7 +5,7 @@ description: ""
linkTitle: Dubbo
title: Dubbo
type: docs
weight: 10
weight: 1
---


Expand Down Expand Up @@ -137,4 +137,4 @@ TBD
### Q3
为什么采用异步单一长连接?

因为服务的现状大都是服务提供者少,通常只有几台机器,而服务的消费者多,可能整个网站都在访问该服务,比如 Morgan 的提供者只有 6 台提供者,却有上百台消费者,每天有 1.5 亿次调用,如果采用常规的 hessian 服务,服务提供者很容易就被压跨,通过单一连接,保证单一消费者不会压死提供者,长连接,减少连接握手验证等,并使用异步 IO,复用线程池,防止 C10K 问题。
因为服务的现状大都是服务提供者少,通常只有几台机器,而服务的消费者多,可能整个网站都在访问该服务,比如 Morgan 的提供者只有 6 台提供者,却有上百台消费者,每天有 1.5 亿次调用,如果采用常规的 hessian 服务,服务提供者很容易就被压跨,通过单一连接,保证单一消费者不会压死提供者,长连接,减少连接握手验证等,并使用异步 IO,复用线程池,防止 C10K 问题。

0 comments on commit a17c829

Please sign in to comment.