forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request envoyproxy#107 from lianghao208/tcpfilter
translation intro/arch_overview/listeners/tcp_proxy.rst
- Loading branch information
Showing
1 changed file
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
.. _arch_overview_tcp_proxy: | ||
|
||
TCP proxy | ||
TCP 代理 | ||
========= | ||
|
||
Since Envoy is fundamentally written as a L3/L4 server, basic L3/L4 proxy is easily implemented. The | ||
TCP proxy filter performs basic 1:1 network connection proxy between downstream clients and upstream | ||
clusters. It can be used by itself as an stunnel replacement, or in conjunction with other filters | ||
such as the :ref:`MongoDB filter <arch_overview_mongo>` or the :ref:`rate limit | ||
<config_network_filters_rate_limit>` filter. | ||
由于 Envoy 本质上是一个 L3/L4 服务器,因此它很容易实现基本的 L3/L4 网络代理功能。 | ||
TCP 代理过滤器可以在下游客户端和上游集群之间进行最基本的 1:1 网络连接代理。 | ||
它可以单独用作安全隧道的替代品,也可以与其他过滤器结合使用(例如 :ref:`MongoDB 过滤器 <arch_overview_mongo>` 或 :ref:`速率限制过滤器 <config_network_filters_rate_limit>`)。 | ||
|
||
The TCP proxy filter will respect the | ||
:ref:`connection limits <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` | ||
imposed by each upstream cluster's global resource manager. The TCP proxy filter checks with the | ||
upstream cluster's resource manager if it can create a connection without going over that cluster's | ||
maximum number of connections, if it can't the TCP proxy will not make the connection. | ||
TCP 代理过滤器将遵循每个上游集群的全局资源管理器配置的:ref:`连接限制 <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>`。 | ||
TCP 代理过滤器会与上游集群的资源管理器共同协商能否在不超过该集群的最大连接数的限制条件下创建新连接。如果不满足该限制条件,TCP 代理将不会创建连接。 | ||
|
||
TCP proxy filter :ref:`configuration reference <config_network_filters_tcp_proxy>`. | ||
TCP 代理过滤器 :ref:`参考配置 <config_network_filters_tcp_proxy>`。 |