Method and system for coordinating stream processing at a video streaming platform
First Claim
1. A method implemented in an electronic device serving as a worker processing video and audio streams of a streaming platform system, the method comprising:
- requesting a task group from an orchestrator of the streaming platform system, wherein the orchestrator manages video and audio stream processing of the streaming platform system;
receiving the task group allocated for the worker from the orchestrator, wherein the task group is allocated based at least partially on characteristics of the worker, wherein the task group corresponds to a subset of a task graph of the orchestrator, wherein the task graph is a directed acyclic graph of tasks, wherein each node of the task graph represents a processing task, and wherein each edge of the task graph represents a data flow across two processing tasks and corresponding input and output of each processing task; and
initiating one or more task running processes to execute the allocated task group, wherein each task running process executes a processing task corresponding to a node of the task group, and wherein each task running process performs at least one of processing one or more inputs corresponding to an incoming edge to the node, and producing one or more outputs corresponding to one or more outgoing edges from the node, where the one or more outputs are stored as a set of resources within a segment store of the worker and the set of resources is made accessible to other workers via a resource registry service.
3 Assignments
0 Petitions
Accused Products
Abstract
A method implemented in an electronic device serving as a worker processing video and audio streams of a streaming platform system is disclosed. The method includes the electronic device requesting a task group from an orchestrator of the streaming platform system, where the orchestrator manages video and audio stream processing of the streaming platform system. The method also includes the electronic device receiving the task group allocated for the worker from the orchestrator, where the task group is allocated based at least partially on characteristics of the worker. The method also includes the electronic device initiating one or more task running processes to execute the allocated task group, and where each task running process performs at least one of processing one or more inputs corresponding to an incoming edge to the node, and producing one or more outputs corresponding to one or more outgoing edges from the node.
85 Citations
20 Claims
-
1. A method implemented in an electronic device serving as a worker processing video and audio streams of a streaming platform system, the method comprising:
-
requesting a task group from an orchestrator of the streaming platform system, wherein the orchestrator manages video and audio stream processing of the streaming platform system; receiving the task group allocated for the worker from the orchestrator, wherein the task group is allocated based at least partially on characteristics of the worker, wherein the task group corresponds to a subset of a task graph of the orchestrator, wherein the task graph is a directed acyclic graph of tasks, wherein each node of the task graph represents a processing task, and wherein each edge of the task graph represents a data flow across two processing tasks and corresponding input and output of each processing task; and initiating one or more task running processes to execute the allocated task group, wherein each task running process executes a processing task corresponding to a node of the task group, and wherein each task running process performs at least one of processing one or more inputs corresponding to an incoming edge to the node, and producing one or more outputs corresponding to one or more outgoing edges from the node, where the one or more outputs are stored as a set of resources within a segment store of the worker and the set of resources is made accessible to other workers via a resource registry service. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An electronic device to serve as a worker processing video and audio streams of a streaming platform system, the electronic device comprising:
-
a non-transitory machine-readable storage medium to store the worker; and a processor coupled to the non-transitory machine-readable storage medium, the processor to execute the worker, the worker configured to request a task group from an orchestrator of the streaming platform system, wherein the orchestrator manages video and audio stream processing of the streaming platform system; receive the task group allocated for the worker from the orchestrator, wherein the task group is allocated based at least partially on characteristics of the worker, wherein the task group corresponds to a subset of a task graph of the orchestrator, wherein the task graph is a directed acyclic graph of tasks, wherein each node of the task graph represents a processing task, and wherein each edge of the task graph represents a data flow across two processing tasks and corresponding input and output of each processing task; and
initiate one or more task running processes to execute the allocated task group, wherein each task running process executes a processing task corresponding to a node of the task group, andwherein each task running process performs at least one of processing one or more inputs corresponding to an incoming edge to the node, and producing one or more outputs corresponding to one or more outgoing edges from the node, where the one or more outputs are stored as a set of resources within a segment store of the worker and the set of resources is made accessible to other workers via a resource registry service. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations in an electronic device serving a worker processing video and audio streams of a streaming platform system, the operations comprising:
-
requesting a task group from an orchestrator of the streaming platform system, wherein the orchestrator manages video and audio stream processing of the streaming platform system; receiving the task group allocated for the worker from the orchestrator, wherein the task group is allocated based at least partially on characteristics of the worker, wherein the task group corresponds to a subset of a task graph of the orchestrator, wherein the task graph is a directed acyclic graph of tasks, wherein each node of the task graph represents a processing task, and wherein each edge of the task graph represents a data flow across two processing tasks and corresponding input and output of each processing task; and initiating one or more task running processes to execute the allocated task group, wherein each task running process executes a processing task corresponding to a node of the task group, and wherein each task running process performs at least one of processing one or more inputs corresponding to an incoming edge to the node, and producing one or more outputs corresponding to one or more outgoing edges from the node, where the one or more outputs are stored as a set of resources within a segment store of the worker and the set of resources is made accessible to other workers via a resource registry service. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification