-
1.
公开(公告)号:US20230053933A1
公开(公告)日:2023-02-23
申请号:US17409139
申请日:2021-08-23
Applicant: NETFLIX, INC.
Inventor: Konstantinos CHRISTIDIS , Aravindan RAMKUMAR , Poorna Chandra Tejashvi REDDY , Chunyun ZHAO
IPC: H04L12/873 , H04L12/855 , H04L12/859
Abstract: In various embodiments, a flexible queue application allocates messages stored in priority queues to clients. In operation, the flexible queue application receives, from a client, a request to allocate a message from a priority queue. At least a first message and a second message are stored in the priority queue, and the priority of the first message is higher than the priority of the second message. The flexible queue application determines that the first message is pending but does not satisfy an allocation constraint. The flexible queue allocation then determines that the second message is pending and satisfies the allocation constraint. The flexible queue application allocates the second message to the client. Advantageously, because the flexible queue application can adapt the priority-based ordering of priority queues based on allocation constraints, the flexible queue application can efficiently enforce resource-related constraints when allocating messages from priority queues.