# US 2021/0176205 A1 · Global load balancing achieved by using distributed dns reflection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176205 A1
- Document ID: US20210176205A1
- Status: Published application
- Kind: A1
- Application number: 17/156,435
- Filed: 2021-01-22
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Rishi Mutnuru
- Web page: https://patentgrep.com/patent/US20210176205A1

## CPC

- H04L 43/0852: Delays
- H04L 61/4511: using domain name system [DNS]
- H04L 43/04: Processing captured monitoring data, e.g. for logfile generation
- H04L 43/0864: Round trip delays
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Round-trip times (RTT) values are estimated between meshed data centers serving an internet domain and a local domain name server (LDNS) associated with the data centers. A method initializes a shared database with proactively estimated RTTs and uses distributed DNS reflection to improve the accuracy of an estimated RTT value and update the shared database. RTTs may be proactively estimated by using pings, queries, or local DNS reflection. In local DNS reflection, a reflector sends a request to a collector in the same data center via the LDNS, and the collector measures the RTT. In distributed DNS reflection, a reflector in a first data center sends a request to a collector in a second data center via the LDNS. The collector calculates the latency, retrieves the (first) RTT between the first data center and the LDNS, and calculates the (second) RTT between the second data center and the LDNS by doubling the difference between the latency and half the first estimated RTT.

## Claims

### Claim 1

A method to estimate round-trip time (RTT) values between two or more meshed data centers serving an internet domain and local domain name servers (LDNSs) that are associated with each of the data centers, each data center including a reflector and a collector, and all jointly including a shared database for storing the estimated round-trip times, wherein each data center is configured to communicate with its associated LNDS, the method including the following steps:
initializing the shared database with proactively estimated RTT values between one or more of the data centers and their associated LDNS;
using distributed DNS reflection to increase an estimated RTT value's accuracy; and
storing the more accurate estimated RTT value in the shared database.

### Claim 2 (depends on 1)

The method of claim 1, wherein a proactively estimated RTT value is estimated by using an Internet Control Message Protocol (ICMP) echo request and reply.

### Claim 3 (depends on 1)

The method of claim 1, wherein a proactively estimated RTT value is estimated by using Transmission Control Protocol (TCP) SYN and SYN-ACK handshake queries.

### Claim 4 (depends on 1)

The method of claim 1, wherein a proactively estimated RTT value is estimated by sending a request from a data center's reflector to the data center's collector via the data center's associated LDNS, and calculating a difference between a receipt time in the data center's collector and a send time in the data center's reflector.

### Claim 5 (depends on 1)

The method of claim 1, wherein the shared database includes a distributed ledger.

### Claim 6 (depends on 1)

The method of claim 1, wherein a first data center and a second data center share an associated LDNS, and wherein distributed DNS reflection includes the following steps:
from a first reflector in the first data center with a first estimated RTT to the associated LDNS, sending a request to a second collector in the second data center configured to communicate with the associated LDNS, wherein the request includes a first timestamp that indicates a time of sending the request from the first reflector, and wherein the first estimated RTT is stored in the shared database;
in the second collector, determining a time of receiving the request;
calculating a latency by subtracting the time of sending the request from the time of receiving the request;
retrieving the first estimated RTT from the shared database; and
calculating a second estimated RTT by doubling a difference between the latency and half the first estimated RTT.

### Claim 7 (depends on 1)

The method of claim 1, further comprising using a passive technique for estimating an RTT value.

### Claim 8

A tangible non-transitory processor-readable medium including instructions executable by one or more processors, and when executed operable to estimate round-trip time (RTT) values between two or more meshed data centers serving an internet domain, each data center including a reflector and a collector, and all jointly including a shared database for storing the estimated round-trip times, wherein each data center is operable to communicate with a local domain name server (LDNS) that is associated with the data center, the estimating including the following steps:
initializing the shared database with proactively estimated RTT values between one or more of the data centers and their associated LDNS;
using distributed DNS reflection to increase an estimated RTT value's accuracy; and
storing the more accurate estimated RTT value in the shared database.

### Claim 9 (depends on 8)

The tangible non-transitory processor-readable medium of claim 8, further including using a passively estimated RTT value between a data center and its associated LNDS.

### Claim 10 (depends on 8)

The tangible non-transitory processor-readable medium of claim 8, wherein a proactively estimated RTT value is estimated by using an Internet Control Message Protocol (ICMP) echo request and reply.

### Claim 11 (depends on 8)

The tangible non-transitory processor-readable medium of claim 8, wherein a proactively estimated RTT value is estimated by using Transmission Control Protocol (TCP) SYN and SYN-ACK handshake queries.

### Claim 12 (depends on 8)

The tangible non-transitory processor-readable medium of claim 8, wherein a proactively estimated RTT value is estimated by sending a request from a data center's reflector to the data center's collector via the data center's associated LDNS, and calculating a difference between a receipt time in the data center's collector and a send time in the data center's reflector.

### Claim 13 (depends on 8)

The tangible non-transitory processor-readable medium of claim 8, wherein the shared database includes a distributed ledger.

### Claim 14 (depends on 8)

The tangible non-transitory processor-readable medium of claim 8, wherein a first data center and a second data center share an associated LDNS, and wherein distributed DNS reflection includes the following steps:
from a first reflector in the first data center with a first estimated RTT to the associated LDNS, sending a request to a second collector in the second data center operable to communicate with the associated LDNS, wherein the request includes a first timestamp that indicates a time of sending the request from the first reflector, and wherein the first estimated RTT is stored in the shared database;
in the second collector, determining a time of receiving the request;
calculating a latency by subtracting the time of sending the request from the time of receiving the request;
retrieving the first estimated RTT from the shared database; and
calculating a second estimated RTT by doubling a difference between the latency and half the first estimated RTT.

### Claim 15

A system including two or more meshed data centers serving an internet domain, each data center including a reflector and a collector, and all data centers jointly including a shared database, wherein each data center is operable to communicate with a local domain name server (LDNS) that is associated with the data center, the system including one or more processors operable to perform operations to estimate round-trip time (RTT) values, the operations including the following steps:
initializing the shared database with proactively estimated RTT values between one or more of the data centers and their associated LDNS;
using distributed DNS reflection to increase an estimated RTT value's accuracy; and
storing the more accurate estimated RTT value in the shared database.

### Claim 16 (depends on 15)

The system of claim 15, wherein a proactively estimated RTT value is estimated by using an Internet Control Message Protocol (ICMP) echo request and reply.

### Claim 17 (depends on 15)

The system of claim 15, wherein a proactively estimated RTT value is estimated by using Transmission Control Protocol (TCP) SYN and SYN-ACK handshake queries.

### Claim 18 (depends on 15)

The system of claim 15, wherein a proactively estimated RTT value is estimated by sending a request from a data center's reflector to the data center's collector via the data center's associated LDNS, and calculating a difference between a receipt time in the data center's collector and a send time in the data center's reflector.

### Claim 19 (depends on 15)

The system of claim 15, wherein the shared database includes a distributed ledger.

### Claim 20 (depends on 15)

The system of claim 15, wherein a first data center and a second data center share an associated LDNS, and wherein distributed DNS reflection includes the following steps:
from a first reflector in the first data center with a first estimated RTT to the associated LDNS, sending a request to a second collector in the second data center operable to communicate with the associated LDNS, wherein the request includes a first timestamp that indicates a time of sending the request from the first reflector, and wherein the first estimated RTT is stored in the shared database;
in the second collector, determining a time of receiving the request;
calculating a latency by subtracting the time of sending the request from the time of receiving the request;
retrieving the first estimated RTT from the shared database; and
calculating a second estimated RTT by doubling a difference between the latency and half the first estimated RTT.
