Localization of performance anomalies in high cardinality multi-dimensional datasets
A graph data structure organizes streaming cohorts based on parent-child relationships to detect and localize performance issues in high-dimensional datasets, facilitating real-time issue identification and mitigation in video streaming services.
Patent Information
- Application Number
- US18/968683
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2044-12-04
AI Technical Summary
Identifying and localizing performance issues in high cardinality multi-dimensional datasets from video streaming services is challenging due to the vast number of simultaneous streaming sessions and diverse feature configurations, which complicates the detection and mitigation of user-impacting problems, especially during live events.
A graph data structure is generated to organize cohorts based on parent-child relationships, allowing for the detection and localization of performance issues by analyzing performance metrics across nodes, with techniques to filter and merge healthy nodes to reduce complexity and identify critical nodes using localization scores.
Enables real-time localization of performance issues within minutes, reducing computational complexity and resource requirements while effectively identifying and mitigating problems across tens of thousands of unique streaming cohorts.
Smart Images

Figure US12817846-D00000_ABST
Abstract
Description
BACKGROUND
[0001] Video streaming services may provide tens of millions of simultaneous streaming sessions, each having various features and configurations that map to hundreds of thousands of different cohorts. In order to maintain high quality experience of streaming services, user impacting issues should be quickly identified and mitigated. Fast and accurate localization techniques can pin-point the epicenter of such issues.BRIEF DESCRIPTION OF DRAWINGS
[0002] FIGS. 1A and 1B present an example of a graph data structure according to various embodiments herein.
[0003] FIG. 2 presents an illustration of an example hardware and logic processes for performing methods disclosed herein.
[0004] FIG. 3 presents a flowchart illustrating an example of localizing performance impairments.
[0005] FIG. 4 presents an example of merging healthy nodes for a cuboid graph data structure according to various embodiments herein.DETAILED DESCRIPTION
[0006] This disclosure describes techniques to localize performance issues. Streaming services may provide tens of millions of simultaneous streaming sessions (or cohorts), each having various features and configurations that map to hundreds of thousands of different cohorts. For example, a single cohort may be defined by more than 300 different features, where each feature may have at least tens or hundreds of different feature values, resulting in hundreds of thousands of unique cohorts defined by different combinations of feature values across features. When a subset of cohorts has a performance issue, it can be difficult to detect the performance issue and localize the performance issue to one or more different features. This problem is especially notable when streaming live events where a performance issue can significantly impact a viewer's quality of experience.
[0007] Techniques herein describe the generation and use of a graph data structure to detect and localize performance issues within high dimensional (i.e., many different features) and high cardinality (i.e., a single feature having many different possible values) datasets of streaming sessions. A graph data structure may organize cohorts based on parent-child relationships for one or more features. Using the graph data structure facilitates the detection of a performance issue as well as the localization of the performance issue. Once the performance issue is localized steps may then be taken to mitigate the performance issue and improve performance for affected cohorts of streaming sessions. In some embodiments, the techniques disclosed herein may be performed in real time, generating a localization of a performance issue within minutes based on datasets having hundreds of thousands of unique streaming cohorts. An example may be instructive.
[0008] FIG. 1A illustrates a cuboid graph data structure 100. The cuboid graph of FIG. 1A is based on Table 1 below; a dataset of four different cohorts. This dataset contains three features (columns): CDN, Origin, and Technology. The dataset all includes performance metrics: the total sessions and rebuffering impacted sessions.
[0009] TABLE 1RebufferedRowCDNOriginTechSessionsSession1C1O1T11000102C1O2T22000203C2O1T1 500504C2O2T21500150
[0010] Table 1 may be represented as a graph having nodes based on combinations of one or more features and edges that indicate a parent-child relationship. Each row of Table 1 may be considered a leaf node, having the most specific definition based on a feature value for each feature. Intermediate nodes may be generated from these leaf nodes by aggregating rows based on one or more features. For example, an intermediate node may be CDN=C1, which would aggregate rows 1 and 2. This intermediate node has a total of 3000 sessions and 30 rebuffered sessions. Similar intermediate nodes may be generated for other features, as well as for combinations of features. For example, another intermediate node may be CDN=C1 and Tech=T1, which would merely copy row 1 in the example of Table 1 but in practice may aggregate hundreds or thousands of rows. An example of some intermediate nodes is presented in Table 2 below.
[0011] TABLE 2RebufferedRowNodeSessionsSessions1Root50002302Origin = O11500603Origin = O235001704CDN = C13000305CDN = C220002006CDN = C1 and100010Origin = O17CDN = C1 and 200020Origin = O28CDN = C2 and 50050Origin = O19CDN = C2 and 1500150Origin = O2
[0012] Table 2 illustrates intermediate nodes based on the leaf nodes of table 1 (Table 2 is not exhaustive of all possible combinations of features in Table 1). In some embodiments, leaf nodes are streaming cohorts in a dataset that is received and contain the most specific definition of cohorts based on all the features in the dataset. Intermediate nodes, by contrast, aggregate cohorts based on specific features and feature values. In Table 2, row 1 is the root node that aggregates all cohorts without regard to specific features. Rows 2-4 aggregate cohorts based on a single feature (and feature value), such as feature Origin=O1 or CDN=C2. Rows 6-9 aggregate cohorts based on two features and feature values, such as features CDN-C2 and Origin=O2. Rows 6-9 mirror rows 1-4 of table 1 due to the small size of the example dataset, but in practice an intermediate node would rarely aggregate only a single leaf node. In some embodiments, nodes of a graph data structure are an aggregation of at least 2 or more cohorts of a dataset. In some embodiments, aggregations are combinations of performance metrics for each cohort in the aggregation, e.g., total sessions and rebuffered sessions.
[0013] FIG. 1A depicts nodes as combinations of various features. In FIG. 1A, a root node aggregates all rows of Table 1, as illustrated in Table 2, and may be described as layer 0, or a zeroth layer. In layer 1, each node aggregates cohorts based on a single feature. In layer 2, each node aggregates cohorts based on combinations of two features. In layer 3, each node aggregates cohorts based on a combination of three features, which in the example of FIG. 1A maps to the original rows of Table 1. Table 2 maps to some of the nodes of FIG. 1A.
[0014] Nodes may also be connected by edges between layers. Edges signify a parent-child relationship based on the features defining that node. For example, the node CDN=C1 has four child nodes. Each child node includes the features of the parent node CDN=C1 and adds an additional feature; Origin=O1, Origin=O2, Tech=T1, and Tech=T2. Cohorts, i.e., rows of Table 1, that have both of the defined features are aggregated for each respective node. Thus, parent nodes include at least all of the cohorts of a child node, and child nodes do not include any cohorts that are not included in a parent node. The root node is a parent node of all other nodes as it aggregates all cohorts.
[0015] It should be understood that in the example of FIG. 1A the nodes for CDN=C1 Origin=O1 and CDN=C1 and Tech=T1 aggregate the same cohorts, but in practice a dataset may have hundreds of thousands of rows / cohorts that would reduce the possibility of nodes having identical aggregations.
[0016] Once a graph data structure is generated, performance issues may be detected through analysis of performance metrics associated with each node. Table 1 lists a total number of sessions and a number of rebuffered sessions for each cohort. These may be used to determine a zero rebuffering rate (ZBR) performance metric for each cohort, i.e., what percentage of sessions had zero rebuffering events, which would be 99% for rows 1 and 2 and 90% for rows 3 and 4. These performance metrics may also be determined for each node, such that a node of Origin=O1 has a ZBR of 96% ((1−60 / 1500)*100), a node CDN=C2 has a ZBR of 90% ((1−200 / 2000)*100), etc. These aggregated performance metrics may then be used to determine whether a node has a performance issue. In some embodiments, a benchmark analysis may be used as illustrated in table 2 below:
[0017] Instantaneous Expected StandardAnomalyCohortZBRZBRDeviationProbabilityAnomalousCDN = AchievedExpectedStdev = prob: YesC2ZBR = 90%ZBR = 95%1%>0.997CDN = AchievedExpectedStdev = prob: NoC1ZBR = 99%ZBR = 98.5%0.5%<0.32
[0018] The instantaneous ZBR is calculated based on the performance metrics in the dataset of Table 1. Expected ZBR and standard deviation may be determined using historical data, and a threshold deviation may be considered to be a performance issue, e.g., if the instant ZBR is more than 3 standard deviations from the expected ZBR.
[0019] FIG. 1B indicates nodes with dashed lines that are considered to have performance issues based on the performance metrics, i.e., unhealthy. Nodes without dashed lines are considered healthy and have performance metrics within expected values. A critical node may be identified that is unhealthy and has no unhealthy parent nodes. In FIG. 1B, CDN=C2 is a critical node as it is unhealthy and its parent node, the root node, is healthy. The other unhealthy nodes are not critical nodes as they each have at least one parent node that is unhealthy.
[0020] Once a critical node is identified, a localization search may be performed to determine localization scores for the critical node and each child node of the critical node, including recursive child nodes (i.e., child nodes of child nodes). Techniques for determining localization scores are discussed more below. In the example of FIG. 1B, CDN=C2 has the highest localization score, as sessions having CDN=C2 has the highest deviation from the expected value of ZBR, all child nodes of CDN=C2 are unhealthy, and CDN=C2 has a ratio of streaming sessions to the critical node of 1. Based on this, CDN=C2 is identified as the localization of the performance issue and may then be investigated to determine a root cause of the performance issue.
[0021] FIG. 2 illustrates an example of a computing environment for encoding media content. The computing environment of FIG. 2 includes server 210 that implements a portion or all of one or more of the technologies described herein may include a computer system that includes or is configured to access one or more computer-accessible media. Server 210 includes one or more processors 240 and one or more memories 250. Server 210 may be connected to a network 230 and other devices 205.
[0022] Server 210 can conform to any of a wide variety of architectures and its functionality may be implemented by a variety of servers. For example, one server might encode media content and the encoded media content might be provided to another server, for example, belonging to a content delivery network (CDN). As such, the functionality and components of server 210 can use one or more servers and be deployed at one or more geographic locations (e.g., across different countries, states, cities, etc.) using a network such as any subset or combination of a wide variety of network environments including, for example, TCP / IP-based networks, telecommunications networks, wireless networks, cable networks, public networks, private networks, wide area networks, local area networks, the Internet, the World Wide Web, intranets, extranets, etc. Multiple entities may be involved in the encoding and delivery of media content and data related to the media content, including content providers, internet service providers (ISPs), providers of content delivery networks (CDNs), etc. The functionality described herein also may be implemented by one or more different entities. For example, the functionality to generate a graph data structure, integrated into a separate app from another entity, implemented in an edge server or content server of a CDN, a server of an ISP, etc.
[0023] It should be noted that, despite references to particular computing paradigms and software tools herein, the computer program instructions on which various implementations disclosed herein are based may correspond to any of a wide variety of programming languages, software tools and data formats, may be stored in any type of non-transitory computer-readable storage media or memory device(s), and may be executed according to a variety of computing models including, for example, a client / server model, a peer-to-peer model, on a stand-alone computing device, or according to a distributed computing model in which various functionalities may be effected or employed at different locations. In addition, reference to particular types of media content herein is merely by way of example. Suitable alternatives known to those of skill in the art may be employed.
[0024] In FIG. 2, server 210 can include various types of logic used to implement localization logic 215 and data structure generation logic 218. Server 210 can include data structure generation logic for generating a graph data structure using streaming session data 220. Server 210 can include one or more processors 240, memory 250, and other hardware components to perform various operations. For example, processors 240 can execute stored instructions in memory 250 of server 210 to implement graph data structure generation techniques disclosed herein.
[0025] In some embodiments, memory 250 may be one embodiment of a computer-accessible medium configured to store program instructions and data as described above for implementing embodiments of the corresponding methods and apparatus. However, in other embodiments, program instructions and / or data may be received, sent or stored upon different types of computer-accessible media. Generally speaking, a computer-accessible medium may include non-transitory storage media or memory media, such as magnetic or optical media—e.g., disk or DVD / CD. A non-transitory computer-accessible storage medium may also include any volatile or non-volatile media, such as RAM (e.g., SDRAM, DDR SDRAM, RDRAM, SRAM, etc.), ROM (read only memory) etc., that may be included in some embodiments of server 210 as memory 250 or another type of memory. Further, a computer-accessible medium may include transmission media or signals such as electrical, electromagnetic or digital signals conveyed via a communication medium, such as a network and / or a wireless link, such as those that may be implemented via network interface 230.
[0026] Network 230 may be configured to allow data to be exchanged between server 210 and other device or devices 205 attached to a network or networks 230, such as other computer systems or devices, for example. In various embodiments, network 230 may support communication via any suitable wired or wireless general data networks, such as types of Ethernet networks, for example. Additionally, network 230 may support communication via telecommunications / telephony networks, such as analog voice networks or digital fiber communications networks, via storage area networks such as Fibre Channel SANs (storage area networks) or via any other suitable type of network and / or protocol.
[0027] A network set up by an entity, such as a company or a public sector organization, to provide one or more web services (such as various types of cloud-based computing or storage) accessible via the Internet and / or other networks to a distributed set of clients may be termed a provider network. Such a provider network may include numerous data centers hosting various resource pools, such as collections of physical and / or virtualized computer servers, storage devices, networking equipment and the like, needed to implement and distribute the infrastructure and web services offered by the provider network. The resources may in some embodiments be offered to clients in various units related to the web service, such as an amount of storage capacity for storage, processing capability for processing, as instances, as sets of related services and the like. A virtual computing instance may, for example, comprise one or more servers with a specified computational capacity (which may be specified by indicating the type and number of CPUs, the main memory size and so on) and a specified software stack (e.g., a particular version of an operating system, which may in turn run on top of a hypervisor).
[0028] A compute node, which may be referred to also as a computing node, may be implemented on a wide variety of computing environments, such as commodity-hardware computers, virtual machines, web services, computing clusters and computing appliances. Any of these computing devices or environments may, for convenience, be described as compute nodes.
[0029] A number of different types of computing devices may be used singly or in combination to implement the resources of the provider network in different embodiments, for example computer servers, storage devices, network devices and the like. In some embodiments a client or user may be provided direct access to a resource instance, e.g., by giving a user an administrator login and password. In other embodiments the provider network operator may allow clients to specify execution requirements for specified client applications and schedule execution of the applications on behalf of the client on execution platforms (such as application server instances, Java™ virtual machines (JVMs), general-purpose or special-purpose operating systems, platforms that support various interpreted or compiled programming languages such as Ruby, Perl, Python, C, C++ and the like or high-performance computing platforms) suitable for the applications, without, for example, requiring the client to access an instance or an execution platform directly. A given execution platform may utilize one or more resource instances in some implementations; in other implementations, multiple execution platforms may be mapped to a single resource instance.
[0030] A specific implementation will now be described with reference to FIG. 3. FIG. 3 presents a flowchart for identifying sources of unhealthy nodes using a graph data structure. A dataset is received including cohorts of streaming sessions (302). The dataset may include a plurality of cohorts of streaming sessions. Streaming sessions may include video on demand (VOD), live, and live linear streaming sessions. In some embodiments, each cohort is defined by a feature value for a plurality of features. Example features may include application version, autonomous system number, CDN, chipset, country, device category, device platform, device type ID, entitlement type, manufacturer, model name, origin, operating system name, player name, device family, encode version, technology, live or video on demand (VOD), protocol, stream type, video type, video title, etc. Each feature has various feature values, e.g., if ten different CDNs are present in the dataset, the feature CDN may have ten different feature values. In some embodiments, features may include content metadata, e.g., name of the video, type of video (live / VOD), entitlement of the video etc., device metadata, e.g., player name, operating system, manufacturer, chipset, model name etc., geographic metadata, e.g., country, city, metro area, zipcode, delivery metadata, e.g., CDN, origin, autonomous system number (ASN), encoding metadata, e.g., encoding version / profile, media codec (e.g. AVC, H.264 etc.), or any combinations thereof. Other features than those provided herein may be used and the examples herein should not be considered exhaustive.
[0031] The dataset may also include performance metrics for each cohort. In some embodiments, performance metrics may include a total number of streaming sessions in the cohort and the number of streaming sessions affected by a performance issue, such as a rebuffer event. In some embodiments, performance metrics may include historical data or benchmark data for that cohort. For example, performance metrics may include the total number of sessions, the number of sessions having a rebuffer event, and a historical percentage of zero rebuffer sessions for that cohort. In some embodiments, the performance metrics include information for a benchmark-based analysis. In some embodiments, the performance metrics include information for a time series analysis technique, such as historical data. In other embodiments, the performance metrics include statistical information to perform a median absolute deviation or Bayesian change point detection.
[0032] Other examples of performance metrics include buffering metrics, quality metrics, error or failure metrics, or any combinations thereof. Additional examples of performance metrics include a percentage of sessions with no rebuffer events, a percentage of sessions with no error, a percentage of time spent rebuffering, a percentage of sessions which ended before video playback starts, a percentage of sessions that failed to start, a percentage of sessions where playback was abandoned during buffering, a time to displaying a first frame after a user starts playback, a percentage of video fragments delivered a threshold quality level or higher (e.g., a HD quality level or higher or an UHD quality level or higher). Other performance metrics than those provided herein may be used and the examples herein should not be considered exhaustive.
[0033] In some embodiments, the performance metrics are combinable across cohorts. As discussed elsewhere herein, generation of a cuboid graph data structure includes aggregating cohorts based on a combination of one or more features. As discussed further below, identification of unhealthy nodes may be based on aggregated performance metrics. Thus, the performance metrics may be combinable across cohorts. For example, total number of sessions and number of rebuffered sessions can be added across cohorts. Other combinations may also be used, including averages weighted by the number of sessions in a cohort.
[0034] In some embodiments, the dataset is a filtered dataset. The dataset may be filtered to remove cohorts having less than a threshold number of sessions or a threshold percentage of overall sessions. For example, cohorts with fewer than 100 sessions may be filtered from the dataset. In some embodiments, filtering can reduce the size of a dataset by up to about 80%, significantly improving runtime to generate the graph data structure.
[0035] In some embodiments, the dataset may also be filtered based on features to identify a subset of features to be used for localization. In some embodiments, a dataset having all possible features is filtered. In alternative embodiments, a dataset is generated based on a query that requests cohorts based on the subset of features. A cohort may be defined by more than 300 features, and individual features may have tens, hundreds, or thousands of feature values. In some embodiments, only a subset of these features and feature values are relevant to localize a performance issue. Thus, in some embodiments, the number of features may be filtered to about 20 or fewer features, and the number of feature values for any single feature may be filtered to about 100 or fewer.
[0036] Various criteria may be used for filtering features and feature values. In one approach, features may be filtered based on cardinality. Cardinality refers to the number of different feature values. For example, a feature having more than about 100 feature values may be filtered out as a potential feature to include in a subset of features. Similarly, in some embodiments features may be filtered based on field density. Field density refers to how many cohorts have a feature value for a particular feature. In some embodiments, features having a field density less than about 20%, i.e., less than about 20% of cohorts have a feature value for that feature, are filtered out as a potential feature to include in a subset of features.
[0037] In some embodiments, rather than filtering a feature based on cardinality, feature values may be filtered based on how many streaming sessions include that feature. For example, a media content streaming service may have hundreds of thousands of titles available for streaming, but the vast majority of these titles are rarely streamed at any given time. However, performance issues may be related to a specific title being streamed. Thus, in some embodiments, media content title may be a feature and the feature values are filtered. In some embodiments, feature values may be filtered based on the 100 most frequently streamed titles (or a different threshold value may be used). In some embodiments, feature values may be filtered based on having a minimum number of sessions having that feature value, e.g., at least 200 sessions streaming a title within a predetermined time window.
[0038] In some embodiments, features may also be filtered based on correlation with other features. For example, two features that are highly correlated with each other may be redundant, as the presence of one feature value is highly indicative of the presence of another feature value. In some embodiments, features are filtered based on contexts. A context may include a specific portion of a media content delivery pipeline, e.g., content encoding, content delivery, player devices, player software, etc. Each context may use a different set of features that are more relevant to that particular context. In some embodiments, the relevance of features to a context may be decided by a user of the graph data structure.
[0039] In some embodiments, an optional operation is performed to identify healthy cohorts and merge them into super nodes (304). This may be referred to as a two-pass approach, where a first pass merges healthy nodes and a second pass generates the graph data structure (as discussed relative to 306 below). During a first pass nodes are analyzed to identify unhealthy nodes. Nodes that are not unhealthy, i.e., healthy nodes, may then be merged into super nodes.
[0040] FIG. 4 presents an example of a graph data structure 400a having a root node 402 and 6 nodes for CDNs 401a-f. CDN 401e and 401f are unhealthy, while CDNs 401a-d are healthy. Thus, in graph data structure 400b, CDNs 401a-d are merged into a single node that aggregates across all four healthy feature values for CDN. CDNs 401e and 410f, which are unhealthy, are not aggregated. This merging reduces the total number of nodes, both in the single layer shown in FIG. 4, as well as in subsequent layers. In a subsequent layer, instead of having nodes for various combinations of each of CDN 401a-d and another feature, a single node combining CDNS 401a-d and the other feature may be generated. In some embodiments, the merge of healthy nodes is for a combination of feature values of a single feature. In some embodiments, a two-pass approach including operation 304 may reduce the total number of nodes by at least about 30%.
[0041] Merging of nodes may be based on the principle that if a feature or feature value is always healthy / never unhealthy in cohorts / leaf nodes, then any intermediate nodes aggregated based on that feature value will also be healthy (as such aggregation would be a combination of only healthy cohorts). By contrast, if a cohort is unhealthy and has a particular feature value, an intermediate node having that feature value may be healthy or unhealthy. Thus, if two or more feature values are always healthy, then nodes having those feature values may be combined as they would individually always be healthy. For example, referring back to Table 1, Origin=O1 is healthy in row 1 and unhealthy in row 3, and thus could be a source of a performance issue, while CDN=C1 is healthy in both rows 1 and 2 and thus may be considered to always be healthy. In some embodiments, merging is performed only across feature values within a feature. In some embodiments, merging across features would cause some nodes to be defined by more features than intended (e.g., if 3 features were combined then a node based on a choose 5 combination would be defined by 5, 6, or 7 features).
[0042] A cuboid graph data structure is generated based on the (optionally merged) dataset (306). A cuboid graph data structure may have a plurality of nodes and edges connecting nodes. Each node may represent one or more features of the dataset, where each of the one or more features having a feature value, and each node aggregates cohorts that have all of the feature values. In some embodiments, a graph data structure includes all possible nodes for a predetermined number of layers. Each layer represents a number of features used to aggregate cohorts of the dataset. For example, a zero layer has no features, and thus aggregates all cohorts. The first layer has nodes representing choose one feature of all features. The second layer has nodes representing a choose two combination of all features. The third layer has nodes representing a choose three combination of all features, etc. In some embodiments, the Nth layer of a graph data structure includes all nodes that aggregate cohorts based on N different features.
[0043] In some embodiments, the graph data structure only generates nodes for six layers (the root node plus five layers of aggregating across features). As the number of layers increases, the complexity of building the data structure increases exponentially. A dataset having M rows with each row containing N features and having 1 layers has a complexity in building a graph data structure based on:
[0044] O(M·∑l=1N(Nl))
[0045] As 1 increases the complexity grows exponentially. For example, 20 choose 5 is 15504 different nodes, and 20 choose 6 is 38760 different nodes (notably, these values only account for features and do not account for feature values, which would further increase the total number of nodes). Thus, by limiting the number of layers, the complexity of the graph is also limited, reducing the total processor cycles to generate the graph data structure and the total memory to store the graph data structure.
[0046] Limiting the number of layers may also not affect localization. Unhealthy nodes may be identified and localized with graph depths of less than about 6 layers. In some embodiments, additional layers provide minimal improvements to the discoverability or accuracy of localized unhealthy nodes. Thus, generating additional graph layers would add unnecessary computational complexity. Limiting the depth, i.e., number of layers, of a graph data structure as described herein thus reduces the computational complexity of generating the graph data structure and reduces processor and memory costs. In some embodiments, the number of layers is less than the number of features being analyzed. In some embodiments, the number of layers is less than a fraction of the total number of features, e.g., less than about half, less than about a third, or less than about a fourth of the total number of features. While more features increases the complexity of the graph data structure, fewer layers may decrease the complexity of the graph data structure without sacrificing the resolution of the graph data structure to localize unhealthy nodes. In some embodiments, the graph data structure has at least two, three, four, or five layers. In some embodiments, the number of layers depends on the total number of features and total number of features values. For example, for a dataset having ten features, each feature value may have ten feature values or one hundred feature values, and the total number of nodes significantly increases for larger numbers of features values. Thus, in some embodiments, the total number of layers is based on the total number of features and feature values.
[0047] Generating the graph data structure also includes generating edges between nodes. Edges may represent a parent-child relationship between nodes. A parent node includes all cohorts in a child node based on having at least one overlapping feature with a child node and fewer features than a child node. Edges are also between layers of nodes, as each layer adds an additional feature to aggregated cohorts. Thus, between layer 1 and layer 2, a layer 1 node has a single feature value and child nodes in layer 2 have the same feature value as the layer 1 node, plus an additional feature value. This is repeated for all parent-child relationships between nodes. A cuboid graph data structure includes nodes and edges between nodes that indicate parent-child relationships.
[0048] In some embodiments, generating the graph data structure may also include generating aggregated performance metrics for each node. As noted above, performance metrics may be used to identify a node as healthy or unhealthy. In some embodiments multiple performance metrics may be generated for each node.
[0049] Unhealthy nodes are identified (308). In some embodiments, aggregated performance metrics may be used to identify unhealthy nodes. If optional step 304 is performed, when the graph data structure is generated one or more nodes may already be indicated as unhealthy based on associated performance metrics for that node.
[0050] In some embodiments, one performance metric is used to indicate a node is healthy or unhealthy. In some embodiments, multiple performance metrics may be used to indicate a node is healthy or unhealthy. Various combinations of performance metrics may be used. In some embodiments, a node may be considered unhealthy if any performance metric indicates that it is unhealthy. In other embodiments, a node may be considered unhealthy only if multiple performance metrics indicate that it is unhealthy.
[0051] In some embodiments, a node is determined as unhealthy based on a historic value for a performance metric, a standard deviation of the historic value, and a current value of the performance metric. If the current value is more than a threshold deviation from the historic value then the node is considered unhealthy.
[0052] In some embodiments, unhealthy nodes are identified as part of steps 304 or 306. During identification of healthy cohorts and super nodes, unhealthy nodes may be determined to distinguish between nodes that can be combined into super nodes. Alternatively, when generating the graph data structure, performance metrics for aggregated cohorts may be combined and determined to be health or unhealthy. The determination of nodes as unhealthy is not strictly limited to following the generation of the graph data structure.
[0053] Critical nodes are identified (310). Critical nodes are nodes that are unhealthy but all of its parent nodes are healthy. A critical node may also be considered a node that does not inherit a performance issue from a parent node. For example, returning to FIG. 1B, the CDN=C2 node is a critical node because it's parent node, the root node, is healthy. No other nodes in the graph data structure of FIG. 1B are critical nodes. A critical node may have child nodes that are also unhealthy. In some embodiments, fewer than all child nodes are unhealthy. This may occur when a child node is the source of a performance issue that may cause a parent node to be unhealthy, but does not affect other child nodes of that parent node.
[0054] Localization scores are determined for critical nodes and child nodes of critical nodes (312). In some embodiments, child nodes of critical nodes include recursive child nodes, i.e., nodes that have a series of child relationships to nodes that have a child relationship to a critical node. Localization scores may be determined based on the following equation as a weighted combination of terms:
[0055] Loc_Score=ω1<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>vi-ui<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>+ω2<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>Ai<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics><semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>Si<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>+ω3nincWhere {ω1, ω2, ω3} are weights, |vi−ui| denotes the deviation of a current performance metric from an expected value of the performance metric,
[0056] <semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>Ai<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics><semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>Si<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>denotes the fraction of child nodes of a node that are unhealthy, and
[0057] nincdenotes the ratio of the number of streaming sessions between a node and its parent critical node. In some embodiments, one or two weights are zero, removing such terms from the localization score. In some embodiments, localization score may be based on one or more terms above. In some embodiments, additional terms may be used, such as a term based on the number of features defining the node. A localization score may be determined for all nodes ni that are a critical node or have a child relationship to a critical node. Generally, nodes that more closely correspond to the source of a performance issue are going to have a higher localization score.
[0058] In some embodiments, multiple critical nodes may be identified in (310). In such embodiments, localization scores are determine for each critical node and child nodes of the critical node. In some embodiments, one or more child nodes may have a child relationship to multiple critical nodes. In such embodiments, multiple localization scores are determined for those child nodes. As the localization score depends in part on performance metrics associated with a critical node, i.e., the ratio of the number of streaming sessions between a node and a parent critical node, different parent critical nodes will result in different localization scores.
[0059] Based on the localization scores, one or more sources of unhealthy nodes are determined (314). In some embodiments, the localization scores are ranked, and the top five nodes are considered sources of the unhealthy nodes.
[0060] In some embodiments, multiple critical nodes are identified. When multiple critical nodes are identified, localization scores are determined from each critical node. In some embodiments, one or more nodes having the highest localization score (i.e., the localized nodes) for each critical node are compared. A Jaccard similarity index or other comparison technique may be used to measure the overlap between localized nodes. If the localized nodes have a non-zero similarity, they may be grouped as relating to a single performance issue. Otherwise, they may be indicated as the source of different performance issues. Determining the similarity of localized nodes avoids duplication of alerts to performance issues. Two localized nodes that have some amount of similarity are more likely to have a common underlying performance issue than localized nodes that have no similarity.
[0061] Nodes that are localized and optionally clustered may then be provided in a notification as being most closely related to a performance issue. Steps may then be taken to determine a root cause of the performance issue, mitigate the performance issue, and improve performance metrics to within expected values. In some embodiments, mitigation steps may be taken automatically based on the localization of performance issues. For example, streaming parameters may be changed based on the nodes indicated to be a source of a performance issue.
[0062] One advantage of the techniques disclosed herein is the real time localization of performance issues. Techniques described herein may be used for VOD content as well as live events and live linear content to identify and localize performance issues. In some embodiments, the process of FIG. 3 may be performed within about 2 minutes. Conventionally, performance issues are identified using custom processes to monitor specific cohorts of streaming sessions or in person monitoring of performance metrics across high dimensional and high cardinality data. The present techniques, by contrast, do not require a user to monitor any particular cohorts or performance metrics. Rather, the present techniques may be performed in real time during streaming or during a live event to detect and localize performance issues without user input. As the total number of nodes is typically in the tens of thousands, it is not practical for a person to analyze all possible nodes to identify and localize unhealthy nodes in real time.CONCLUSION
[0063] Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. Embodiments disclosed herein may be practiced without some or all of these specific details. In other instances, well-known process operations have not been described in detail to not unnecessarily obscure the disclosed embodiments. Further, while the disclosed embodiments will be described in conjunction with specific embodiments, it will be understood that the specific embodiments are not intended to limit the disclosed embodiments. It should be noted that there are many alternative ways of implementing the processes, systems, and apparatus of the present embodiments. Accordingly, the present embodiments are to be considered as illustrative and not restrictive, and the embodiments are not to be limited to the details given herein.
Claims
1. A method, comprising:receiving a dataset comprising a plurality of cohorts of streaming sessions and a plurality of features, each feature having a plurality of feature values, wherein each cohort is defined by a feature value for each feature of the plurality of features and each cohort is associated with one or more performance metrics, wherein the performance metrics include a total number of streaming sessions in the cohort and a total number of streaming sessions in the cohort having a rebuffer event;based on the dataset, generating a cuboid graph data structure comprising at least four layers, wherein:a zeroth layer comprises a root node aggregating all cohorts,a first layer comprises a plurality of first nodes, each first node associated with a different feature value of the plurality of features, each first node aggregating cohorts having the feature value associated with that first node,a second layer comprises a plurality of second nodes, each second node associated with a different combination of two feature values of the plurality of features, each second node aggregating cohorts having the two feature values associated with that second node, anda third layer comprises a plurality of third nodes, each third node associated with a different combination of three feature values of the plurality of features, each third node aggregating cohorts having the three feature values associated with that third node, andedges connecting pairs of nodes indicate a parent-child relationship based on the feature values, wherein each pair of nodes includes a node from adjacent layers;determining aggregated performance metrics for each node based on the aggregated cohorts;identifying a first set of nodes as unhealthy nodes and a second set of nodes as healthy nodes based on the aggregated performance metrics;identifying one or more nodes of the first set of nodes as critical nodes based on the one or more nodes of the first set of nodes being connected to one or more parent nodes that are each nodes of the second set of nodes;determining a localization score for each critical node and nodes that have a child relationship to a critical node, wherein the localization score is based on the aggregated performance metrics associated with that node; andidentifying one or more nodes having the highest localization score as a source of the unhealthy nodes.
2. The method of claim 1, where the plurality of features comprises one or more features selected from the group consisting of: a content distribution network (CDN) id, a device type id, a chipset id, a device category, a streaming protocol, and an application version.
3. The method of claim 1, wherein the localization score for a node is determined based on a weighted combination of: the difference between the aggregated performance metric associated with the node and an expected aggregated performance metric, a fraction of child nodes of the node that are unhealthy, and a ratio of the number of streaming sessions of the node to a critical node.
4. The method of claim 1, wherein the total number of features is at least twice the number of layers of the cuboid graph data structure.
5. A method, comprising:receiving a dataset comprising a plurality of cohorts of streaming sessions and a plurality of features, each feature having a plurality of feature values, wherein each cohort is defined by a feature value for each feature of the plurality of features and each cohort is associated with one or more performance metrics;based on the dataset, generating a graph data structure comprising a plurality of nodes and a plurality of edges connecting nodes, each node representing one or more features, each of the one or more features of a node having a feature value, each node comprising cohorts having all of the feature values, each edge representing a parent-child relationship between two nodes;determining aggregated performance metrics for each node;identifying a first set of nodes as unhealthy nodes and a second set of nodes as healthy nodes based on the aggregated performance metrics;identifying one or more nodes of the first set of nodes as critical nodes based on the one or more nodes of the first set of nodes being connected to one or more parent nodes that are each nodes of the second set of nodes;determining a localization score for each critical node and nodes that have a recursive child relationship to a critical node, wherein the localization score is based on the aggregated performance metrics associated with that node; andidentifying one or more nodes having the highest localization score as a source of the unhealthy nodes.
6. The method ofclaim 5, further comprising, prior to generating the graph data structure, determining a first subset of cohorts and a second subset of cohorts of the plurality of cohorts are healthy based on the performance metrics associated with the first subset of cohorts and the second subset of cohorts, respectively, wherein the first subset of cohorts has a first feature value for a first feature and the second subset of cohorts has a second feature value for the first feature, wherein nodes having the first feature value and nodes having the second feature value are aggregated into a single node.
7. The method of claim 5, wherein a node aggregates cohorts based on no more than half a total number of features of the plurality of features.
8. The method of claim 5, wherein the localization score for a node is determined based on a weighted combination of: a difference between the aggregated performance metric associated with the node and an expected aggregated performance metric, a fraction of child nodes of the node that are unhealthy, and a ratio of a number of streaming sessions of the node to a critical node.
9. The method of claim 5, wherein the graph data structure comprises a plurality of layers and an Nth layer of the graph data structure comprises nodes that aggregate cohorts based on N different feature values.
10. The method of claim 5, further comprising filtering the dataset to remove cohorts having a number of streaming sessions less than a size threshold value.
11. The method of claim 5, wherein the performance metrics comprise a zero rebuffer rate.
12. The method of claim 5, wherein the plurality of features are selected from a superset of features based at least in part on a cardinality and a field density of each feature.
13. A system, comprising one or more processors and one or more memories configured for:receiving a dataset comprising a plurality of cohorts of streaming sessions and a plurality of features, each feature having a plurality of feature values, wherein each cohort is defined by a feature value for each feature of the plurality of features and each cohort is associated with one or more performance metrics;based on the dataset, generating a cuboid graph data structure comprising a plurality of nodes and a plurality of edges connecting nodes, each node representing one or more features, each of the one or more features of a node having a feature value, each node comprising cohorts having all of the feature values, each edge representing a parent-child relationship between two nodes;determining aggregated performance metrics for each node;identifying a first set of nodes as unhealthy nodes and a second set of nodes as healthy nodes based on the aggregated performance metrics;identifying one or more nodes of the first set of nodes as critical nodes based on the one or more nodes of the first set of nodes being connected to one or more parent nodes that are each nodes of the second set of nodes;determining a localization score for each critical node and nodes that have a recursive child relationship to a critical node, wherein the localization score is based on the aggregated performance metrics associated with that node; andidentifying one or more nodes having the highest localization score as a source of the unhealthy nodes.
14. The system of claim 13, wherein the one or more processors and one or more memories are further configured for, prior to generating the graph data structure, determining a first subset of cohorts and a second subset of cohorts of the plurality of cohorts are healthy based on the performance metrics associated with the first subset of cohorts and the second subset of cohorts, respectively, wherein the first subset of cohorts has a first feature value for a first feature and the second subset of cohorts has a second feature value for the first feature, wherein nodes having the first feature value and nodes having the second feature value are aggregated into a single node.
15. The system of claim 13, wherein a node aggregates cohorts based on no more than half a total number of features of the plurality of features.
16. The system of claim 13, wherein the localization score for a node is determined based on a weighted combination of: a difference between the aggregated performance metric associated with the node and an expected aggregated performance metric, a fraction of child nodes of the node that are unhealthy, and a ratio of a number of streaming sessions of the node to a critical node.
17. The system of claim 13, wherein the graph data structure comprises a plurality of layers and an Nth layer of the graph data structure comprises nodes that aggregate cohorts based on N different feature values.
18. The system of claim 13, wherein the one or more processors and one or more memories are further configured for filtering the dataset to remove cohorts having a number of streaming sessions less than a size threshold value.
19. The system of claim 13, wherein the performance metrics comprise a zero rebuffer rate.
20. The system of claim 13, wherein the plurality of features are selected from a superset of features based at least in part on a cardinality and a field density of each feature.
Citation Information
Patent Citations
Adjusting parameter settings for bitrate selection algorithms
US11102535B1
Method for two time-scales video stream transmission control
US20130263200A1
Voice Based System and Method for Data Input
US20140019128A1
Time allocation for network transmission
US20170041248A1
Real time anomaly detection for data streams
US20190081876A1
