You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2018/06/18 13:04:39 UTC

[incubator-skywalking] branch Arch-Doc updated: Update Architecture.md

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch Arch-Doc
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/Arch-Doc by this push:
     new cb2dd3e  Update Architecture.md
cb2dd3e is described below

commit cb2dd3ee11778a3daaa2258e09e1e2568019a81c
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Mon Jun 18 21:04:36 2018 +0800

    Update Architecture.md
---
 docs/en/Architecture.md | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/docs/en/Architecture.md b/docs/en/Architecture.md
index f27ed7a..2c23a5b 100644
--- a/docs/en/Architecture.md
+++ b/docs/en/Architecture.md
@@ -52,4 +52,29 @@ naming:
 ```
 
 ## Multiple connection ways
-There are two major connection ways from client to collectors.
+First of all, the collector provides two types of connections, also two protocols(HTTP and gRPC). These two are
+1. Naming service in HTTP, which returns the all available collectors in the backend cluster.
+1. Uplink service in gRPC(primary in SkyWalking native agents) and HTTP, which uplinks traces and metrics to collector.
+Each client will only send monitoring data(traces and metrics) to a single collector. Attempt to connect other if the connected one offline.
+
+Such as in SkyWalking Java agent
+1. `collector.servers` means the naming service, which maps to `naming/jetty/ip:port` of collector, in HTTP. 
+1. `collector.direct_servers` means setting Uplink service directly, and using gRPC to send monitoring data.
+
+
+_Example of the process flow between client lib and collector cluster_
+```
+         Client lib                         Collector1             Collector2              Collector3
+ (Set collector.servers=Collector2)              (Collector 1,2,3 constitute the cluster)
+             |
+             +-----------> naming service ---------------------------->|
+                                                                       |
+             |<------- receive gRPC IP:Port(s) of Collector 1,2,3---<--|
+             |
+             |Select a random gRPC service
+             |For example collector 3
+             |
+             |------------------------->Uplink gRPC service----------------------------------->|
+```
+
+

-- 
To stop receiving notification emails like this one, please contact
wusheng@apache.org.