FACILITATING WORKLOAD-AWARE SHUFFLING AND MANAGEMENT OF MESSAGE TYPES IN MESSAGE QUEUES IN AN ON-DEMAND SERVICES ENVIRONMENT
First Claim
1. A database system-implemented method, comprising:
- monitoring, in runtime, by and incorporating into the database system, workload patterns associated with incoming workloads, wherein each workload is associated with a plurality of message types and the plurality of message types are at least one of inspected and processed in a pre-determined order;
collecting, in runtime, by the database system, information regarding each message type based on a workload pattern of its associated workload; and
dynamically shuffling, in runtime, by the database system, the order based on the information, wherein shuffling includes ordering a first set of message types having one or more messages ahead of a second set of message types having fewer or no messages.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for facilitating dynamic workload-aware shuffling of message types in message queues in an on-demand services environment in a multi-tenant environment according to one embodiment. In one embodiment and by way of example, a method includes monitoring, in runtime, workload patterns associated with incoming workloads, where each workload is associated with a plurality of message types and the plurality of message types are inspected and processed in a predetermined order. The method may further include collecting, in runtime, information regarding each message type based on a workload pattern of its associated workload, and dynamically shuffling the order based on the information, where shuffling includes ordering a first set of message types having one or more messages ahead of a second set of message types having fewer or no messages.
-
Citations
24 Claims
-
1. A database system-implemented method, comprising:
-
monitoring, in runtime, by and incorporating into the database system, workload patterns associated with incoming workloads, wherein each workload is associated with a plurality of message types and the plurality of message types are at least one of inspected and processed in a pre-determined order; collecting, in runtime, by the database system, information regarding each message type based on a workload pattern of its associated workload; and dynamically shuffling, in runtime, by the database system, the order based on the information, wherein shuffling includes ordering a first set of message types having one or more messages ahead of a second set of message types having fewer or no messages. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a processor and a memory to execute instructions at the system; and a mechanism to; monitor, in runtime, workload patterns associated with incoming workloads, wherein each workload is associated with a plurality of message types and the plurality of message types are at least one of inspected and processed in a pre-determined order; collect, in runtime, information regarding each message type based on a workload pattern of its associated workload; and dynamically shuffle, in runtime, the order based on the information, wherein shuffling includes ordering a first set of message types having one or more messages ahead of a second set of message types having fewer or no messages. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A machine-readable medium comprising a plurality of instructions which, when executed by a processing device, cause the processing device to perform one or more operations comprising:
-
monitoring, in runtime, workload patterns associated with incoming workloads, wherein each workload is associated with a plurality of message types and the plurality of message types are at least one of inspected and processed in a pre-determined order; collecting, in runtime, information regarding each message type based on a workload pattern of its associated workload; and dynamically shuffling, in runtime, the order based on the information, wherein shuffling includes ordering a first set of message types having one or more messages ahead of a second set of message types having fewer or no messages. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification