Helios architecture (2) client architecture and cluster, helioscluster

Source: Internet
Author: User

Helios architecture (2) client architecture and cluster, helioscluster

The client architecture of helios is similar to that of the server. Only the partial classification is different (yellow). It is the client architecture.

It can be seen that only two instances of IConnection (TcpConnection and UdpConnection) are slightly different from those on the server. Because the client does not involve the callback problem, there is no Channel-related content.

Client Cluster

First, the Cluster of the client is displayed.

It can be divided into three parts based on the green line:

  • Factory on the left
  • Upper Cluster
  • Method for establishing a connection on the lower side

The helios client maintains the server list (Cluster ). Use ClusterManagerFactory to create the corresponding ClusterManager. Maintain the borrow point list on the server through ClusterManager. (RoundRobinClusterManager is responsible for multiple server nodes. SingleNodeClusterManager indicates that the server side has only one node ).

NormalConnectionBuilder is only a factory mode. It creates an IConnection object.

Finally, PooledKeyedConnectionProvider maintains the IConnection object and ClusterManager. IConnection is used to determine whether the server node is unblocked, and ClusterManager is used to maintain

Status.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.