# US 2024/0267316 A1 · Distributed Network Data Management Systems and Method

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

- Number: US 2024/0267316 A1
- Document ID: US20240267316A1
- Status: Published application
- Kind: A1
- Application number: 18/615,347
- Filed: 2024-03-25
- Published: 2024-08-08
- Earliest claimed: 2021-09-07
- Assignees: Elasticsearch B.V.
- Applicants: Elasticsearch B.V.
- Inventors: Andrew Wilkins; Ron Cohen
- Web page: https://patentgrep.com/patent/US20240267316A1

## CPC

- H04L 41/069: using logs of notifications; Post-processing of notifications
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 41/0686: Additional information in the notification, e.g. enhancement of specific meta-data
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for application performance management across one or more networks are disclosed. A system includes a plurality of geographically distributed computing devices executing one or more applications. A plurality of collectors are distributed across the one or more networks, each collector being positioned proximate a respective computing device. The collectors may sample, by each of the plurality of collectors, a plurality of trace events received from the applications executing on the computing devices proximate the collector. The collectors may retain in memory sampled trace events that meet a configurable attribute. The collectors may use probabilistic sets and tail-based sampling to determine root events and policies for identifying relevant traces. Benefits can be achieved in bandwidth savings, network cost and cyber security.

## Claims

### Claim 1

A method of application performance monitoring in one or more networks, comprising:
executing a plurality of respective applications on two or more computing devices located in at least two different geographical regions connected via the one or more networks;
distributing a plurality of collectors across the one or more networks, each collector being positioned proximate a respective computing device of the two or more computing devices;
sampling, by each of the plurality of collectors, a plurality of trace events received from the applications on the computing devices proximate the respective collector; and
retaining in local memory sampled trace events that meet a configurable attribute comprising at least one of a latency threshold for completing a trace associated with one or more of the sampled trace events, or a success or failure of the trace.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
transmitting to an orchestration server across the one or more networks information comprising a trace event identified based on a local sampling decision, the orchestration server configured for indexing other information representing sampled trace events obtained from other collectors of the plurality of collectors that correspond with the trace event identified in the information; and
publishing sampled trace identifiers (IDs) to the orchestration server to allow other collectors to enable indexing of events related to the trace.

### Claim 3 (depends on 1)

The method of claim 1, further comprising selectively transmitting by one of the collectors across the one or more networks a representation of the retained trace events to others of the plurality of collectors.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
selectively transmitting the representation of the retained sampled trace events further comprises transmitting the representation via an orchestration server; and
the orchestration server transmits the representation to the others using the one or more networks.

### Claim 5 (depends on 4)

The method of claim 4, wherein the representation comprises a trace identifier (ID).

### Claim 6 (depends on 1)

The method of claim 1, further comprising sampling by at least one of the collectors a root trace event.

### Claim 7 (depends on 1)

The method of claim 1, further comprising determining by the at least one of the collectors that the sampled trace event comprises a root trace event.

### Claim 8 (depends on 1)

The method of claim 1, wherein the sampling by at least one of the collectors comprises tail-based sampling.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
determining, using the tail-based sampling, at least one of a root transaction duration or a root transaction outcome; and
retaining a sampled trace event based at least in part on the determining.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
reservoir-sampling, by at least one of the collectors, a root transaction; and
synchronizing prior sampling decisions by the at least one of the collectors to index any other trace events that are part of a sampled trace.

### Claim 11

A system for distributed data management, comprising:
a plurality of computing devices geographically distributed and communicatively coupled together via one or more networks, each computing device being configured to execute at least one application;
a plurality of geographically-distributed collectors, each collector being located proximate one or more of the computing devices and configured to:
sample a plurality of trace events from the one or more of the computing devices; and
retain in local memory sampled trace events that meet a configurable attribute comprising at least one of a latency threshold for completing a trace associated with one or more of the sampled trace events, or a success or failure of the trace.

### Claim 12 (depends on 11)

The system of claim 11, further comprising an orchestration server, wherein at least some collectors of the plurality of collectors are further configured to:
generate a probabilistic set of trace identifiers (IDs); and
transmit the probabilistic set to the orchestration server.

### Claim 13 (depends on 12)

The system of claim 12, wherein the probabilistic set comprises a Bloom Filter.

### Claim 14 (depends on 11)

The system of claim 11, wherein at least some collectors of the plurality of collectors are further configured to:
perform tail-based sampling of event data to determine a property of a completed trace; and
locally store the trace or portion thereof when the property meets a threshold.

### Claim 15 (depends on 14)

The system of claim 14, wherein the property comprises at least one of a root transaction duration or a trace success or failure outcome.

### Claim 16 (depends on 14)

The system of claim 14, wherein the at least some collectors are further configured to synchronize sampling decisions to index any other trace events that are part of sampled traces.

### Claim 17 (depends on 11)

The system of claim 11, further comprising determining, by at least some collectors of the plurality of collectors, a root event of a plurality of trace events.

### Claim 18 (depends on 11)

The system of claim 11, wherein at least some collectors of the plurality of collectors are configured to:
determine a root event of a trace;
pass the root event through a reservoir sampler for making a local sampling decision;
transmit to an orchestration server across the one or more networks information comprising a trace event identified based on the local sampling decision, the orchestration server being configured to index other information representing sampled trace events obtained from other collectors of the plurality of collectors that correspond with the trace event identified in the information; and
publish sampled trace identifiers (IDs) to the orchestration server to allow other collectors to enable indexing of events related to the trace.

### Claim 19 (depends on 18)

The system of claim 18, wherein the at least some collectors of the plurality of collectors are configured to identify the root event by transforming sampled trace events into a directed acyclic graph (DAG) or a hierarchical tree.

### Claim 20

A system for application performance monitoring across one or more networks, comprising:
a plurality of computing devices geographically distributed across the one or more networks, each computing device including code for executing at least one application;
a plurality of collectors, each collector located proximate one of the computing devices and being configured to:
sample a plurality of trace events received from a proximate one of the computing devices, the sampling based on a configurable policy;
buffer non-root sampled trace events for a configured duration; and
an orchestration server configured to:
receive an indication of a sampling decision sent from a collector of the plurality of collectors when the collector samples a root trace event; and
propagate the sampling decision to collectors to enable the collectors to retain in local memory buffered trace events related to the root trace event.
