Help Center/ Cloud Connect/ FAQs/ Bandwidth, Latency and Packet Loss/ Why Do I Need Cloud Connect If the Network Latency Is the Same as on the Internet?
Updated on 2023-05-09 GMT+08:00

Why Do I Need Cloud Connect If the Network Latency Is the Same as on the Internet?

Consider the following when you are using Cloud Connect:

Network Performance Measuring Metrics

  • Packet loss rate: the proportion of packets lost during network transmission

    This metric measures the network's packet forwarding capabilities. The difference between the number of packets from the sender and the number of packets to the receiver is the number of packets lost during network transmission. The percentage of the packets that are lost is the packet loss rate.

  • Jitter: fluctuation in the latency of the packets flowing through the network

    Physical devices, such routers, that forward data packets on the network have buffers. When an amount of data that exceeds the transmission capacity of the cable is transmitted, physical devices will buffer excess packets. Packets that are not buffered or buffered for a short time arrive faster than those buffered for longer. This variation is called network jitter.

  • Latency: the average round-trip time for transmitting packets between two network nodes

    For a store-and-forward device, the delay starts when the last bit of the last data frame enters the device and ends when the first bit of the data frame appears on the outbound interface. The time difference is the delay of the storage and forwarding device.

    Generally, there are the following types of delay:
    • Propagation delay: the time taken to transmit a packet in the transmission medium. Propagation delay is directly proportional to the physical distance between the two ends and the packet size. The longer the physical distance and the larger the packet, the longer the transmission delay.
    • Device delay: the time taken by a physical device, such as a router, to forward a data packet. The device delay is related to the forwarding performance of the switching device.
    • Packet conversion delay: the time taken for encoding and decoding data packets at both ends.
    • Jitter buffer delay: Generally, with IP communications for a voice service, a buffer is configured to eliminate the network jitter to prevent the voice quality from being discontinuous. The buffer also causes a certain delay.

Transmission Distance

Cloud Connect uses a DCI backbone network for communications, and the latency depends on the transmission distance and transmission loss.

  • A longer distance results in more loss and higher latency.
  • A shorter distance results in less loss and lower latency.

To ensure connection reliability, inter-region services are usually carried by multiple connections. The length of each connection varies slightly. Therefore, Cloud Connect does not guarantee the latency.

Advantages of Cloud Connect Compared with the Internet

Two scenarios are presented here to compare the network performance of Cloud Connect and the Internet.

Table 1 Scenario details

ECS Specification

2 vCPUs and 4 GB memory

Bandwidth

4 Mbit/s

Regions of the VPCs that need to communicate with each other

CN North-Beijing4 (AZ1) and CN-Hong Kong (AZ1)

CN East-Shanghai1 (AZ1) and CN-Hong Kong (AZ1)

Test Time

From 2020/09/09 18:30 to 2020/09/10 09:30 (15 hours in total)

How This Works

Internet: Bind EIPs to the servers in the VPCs.

Cloud Connect: Load the VPCs in CN North-Beijing1, CN East-Shanghai1, and CN-Hong Kong to one cloud connection.

Quality of network between CN North-Beijing4 and CN-Hong Kong

Figure 1 Internet test results
Figure 2 Cloud Connect test results
Table 2 Test comparison

Item

Packet Loss

Average Latency

Jitter

Cloud Connect

0%

38.9 ms

1.57 ms

Internet

0.04%

42.882 ms

2.105 ms

Quality of network connection between CN East-Shanghai1 and CN-Hong Kong

Figure 3 Internet test results
Figure 4 Cloud Connect test results
Table 3 Test comparison

Item

Packet Loss

Average Latency

Jitter

Cloud Connect

0%

32.14 ms

0.514 ms

Internet

1.73%

33.24 ms

2.838 ms

You can see from the test results that the performance of Cloud Connect is better than that of the Internet in terms of network latency. Cloud Connect outperforms the Internet in terms of packet loss and jitter.

In summary, Cloud Connect can provide more accurate data transmission and more stable network communications.