Method and system for selecting amongst a plurality of processes to send a message
First Claim
Patent Images
1. A method, comprising:
- detecting a trigger including an event that is initiated as a result of at least one change made to data stored in a first database of an on-demand database service;
in response to the detecting of the trigger, retrieving message information from a portion of a second database being managed by the on-demand database service;
generating a message utilizing the retrieved message information of the second database and the at least one change made to the data stored in the first database, the generated message including a pointer identifying a location of the data stored in the first database to which the at least one change was made, wherein the message reflects the at least one change made to the data stored in the first database of the on-demand database service;
selecting at least one of a plurality of processes for sending the generated message and the retrieved message information; and
sending the generated message and the retrieved message information to a device of a subscriber of the on-demand database service, utilizing the selected at least one of the plurality of processes, for use by the subscriber in propagating the at least one change to the device of the subscriber.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for selecting amongst a plurality of processes to send a message (e.g. a message for updating an endpoint system, etc.). These mechanisms and methods for selecting amongst a plurality of processes to send a message can enable embodiments to utilize more than one queue for sending such message. The ability of embodiments to provide such multi-process feature can, in turn, prevent latency that typically accompanies a mounting number of messages.
37 Citations
32 Claims
-
1. A method, comprising:
-
detecting a trigger including an event that is initiated as a result of at least one change made to data stored in a first database of an on-demand database service; in response to the detecting of the trigger, retrieving message information from a portion of a second database being managed by the on-demand database service; generating a message utilizing the retrieved message information of the second database and the at least one change made to the data stored in the first database, the generated message including a pointer identifying a location of the data stored in the first database to which the at least one change was made, wherein the message reflects the at least one change made to the data stored in the first database of the on-demand database service; selecting at least one of a plurality of processes for sending the generated message and the retrieved message information; and sending the generated message and the retrieved message information to a device of a subscriber of the on-demand database service, utilizing the selected at least one of the plurality of processes, for use by the subscriber in propagating the at least one change to the device of the subscriber. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. A non-transitory machine-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
detecting a trigger including an event that is initiated as a result of at least one change made to data stored in a first database of an on-demand database service; in response to the detecting of the trigger, retrieving message information from a portion of a second database being managed by the on-demand database service; generating a message utilizing the retrieved message information of the second database and the at least one change made to the data stored in the first database, the generated message including a pointer identifying a location of the data stored in the first database to which the at least one change was made, wherein the message reflects the at least one change made to the data stored in the first database of the on-demand database service; selecting at least one of a plurality of processes for sending the generated message and the retrieved message information; and sending the generated message and the retrieved message information to a device of a subscriber of the on-demand database service, utilizing the selected at least one of the plurality of processes, for use by the subscriber in propagating the at least one change to the device of the subscriber.
-
-
31. An apparatus, comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of; detecting a trigger including an event that is initiated as a result of at least one change made to data stored in a first database of an on-demand database service; in response to the detecting of the trigger, retrieving message information from a portion of a second database being managed by the on-demand database service; generating a message utilizing the retrieved message information of the second database and the at least one change made to the data stored in the first database, the generated message including a pointer identifying a location of the data stored in the first database to which the at least one change was made, wherein the message reflects the at least one change made to the data stored in the first database of the on-demand database service; selecting at least one of a plurality of processes for sending the generated message and the retrieved message information; and sending the generated message and the retrieved message information to a device of a subscriber of the on-demand database service, utilizing the selected at least one of the plurality of processes, for use by the subscriber in propagating the at least one change to the device of the subscriber.
-
-
32. A method for transmitting code for use in a multi-tenant database system on a transmission medium, the method comprising:
-
transmitting code to detect a trigger including an event that is initiated as a result of at least one change made to data stored in a first database of an on-demand database service; transmitting code to, in response to the detecting of the trigger, retrieve message information from a portion of a second database being managed by the on-demand database service; transmitting code to generate a message utilizing the retrieved message information of the second database and the at least one change made to the data stored in the first database, the generated message including a pointer identifying a location of the data stored in the first database to which the at least one change was made, wherein the message reflects the at least one change made to the data stored in the first database of the on-demand database service; transmitting code to select at least one of a plurality of processes for sending the generated message and the retrieved message information; and transmitting code to send the generated message and the retrieved message information to a device of a subscriber of the on-demand database service, utilizing the selected at least one of the plurality of processes, for use by the subscriber in propagating the at least one change to the device of the subscriber.
-
Specification