Asynchronous method and system for performing an operation on metadata
First Claim
Patent Images
1. A method, comprising:
- receiving a request including at least one instruction to perform at least one operation on metadata associated with an environment of a subscriber of an on-demand database service, the at least one operation modifying the metadata to tailor use of the on-demand database service for a particular application;
processing the request, wherein the processing includes determining whether the request is an asynchronous request by inspecting a header of the request for an indication that the request is the asynchronous request;
in response to a determination that the request is the asynchronous request, conditionally performing the at least one operation on the metadata associated with the environment of the subscriber independently of at least one other operation performed by the subscriber using the on-demand database service by delaying the performance of the operation on the metadata with respect to the performance of the at least one other operation, such that a negative effect on the performance of the at least one other operation via the performance of the operation the metadata is avoided; and
in response to a determination that the request is not the asynchronous request, performing the at least one operation on the metadata in at least near-real time without the delaying of the performance of the operation on the metadata with respect to the performance of the at least one other operation.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for asynchronously performing an operation on metadata in the context of an on-demand database service. These mechanisms and methods for asynchronously performing an operation on metadata can enable embodiments to allow a subscriber to perform other database service operations, while the aforementioned operation is being performed on the metadata. The ability of embodiments to provide such feature can enable the performance of a larger number of operations on metadata without necessarily interrupting the ability of the subscriber to perform other operations using the on-demand database service.
44 Citations
22 Claims
-
1. A method, comprising:
-
receiving a request including at least one instruction to perform at least one operation on metadata associated with an environment of a subscriber of an on-demand database service, the at least one operation modifying the metadata to tailor use of the on-demand database service for a particular application; processing the request, wherein the processing includes determining whether the request is an asynchronous request by inspecting a header of the request for an indication that the request is the asynchronous request; in response to a determination that the request is the asynchronous request, conditionally performing the at least one operation on the metadata associated with the environment of the subscriber independently of at least one other operation performed by the subscriber using the on-demand database service by delaying the performance of the operation on the metadata with respect to the performance of the at least one other operation, such that a negative effect on the performance of the at least one other operation via the performance of the operation the metadata is avoided; and in response to a determination that the request is not the asynchronous request, performing the at least one operation on the metadata in at least near-real time without the delaying of the performance of the operation on the metadata with respect to the performance of the at least one other operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 21, 22)
-
-
18. A machine-readable medium storing a computer program product, the computer program product comprising:
-
computer code for receiving a request including at least one instruction to perform at least one operation on metadata associated with an environment of a subscriber of an on-demand database service, the at least one operation modifying the metadata to tailor use of the on-demand database service for a particular application; computer code for processing the request, wherein the processing includes determining whether the request is an asynchronous request by inspecting a header of the request for an indication that the request is the asynchronous request; computer code for, in response to a determination that the request is the asynchronous request, conditionally performing the at least one operation on the metadata associated with the environment of the subscriber independently of at least one other operation performed by the subscriber using the on-demand database service by delaying the performance of the operation on the metadata with respect to the performance of the at least one other operation, such that a negative effect on the performance of the at least one other operation via the performance of the operation on the metadata is avoided; and computer code for, in response to a determination that the request is not the asynchronous request, performing the at least one operation on the metadata in at least near-real time without the delaying of the performance of the operation on the metadata with respect to the performance of the at least one other operation.
-
-
19. An apparatus, comprising:
-
a processor for; receiving a request including at least one instruction to perform at least one operation on metadata associated with an environment of a subscriber of an on-demand database service, the at least one operation modifying the metadata to tailor use of the on-demand database service for a particular application; processing the request, wherein the processing includes determining whether the request is an asynchronous request by inspecting a header of the request for an indication that the request is the asynchronous request; in response to a determination that the request is the asynchronous request, conditionally performing the at least one operation on the metadata associated with the environment of the subscriber independently of at least one other operation performed by the subscriber using the on-demand database service by delaying the performance of the operation on the metadata with respect to the performance of the at least one other operation, such that a negative effect on the performance of the at least one other operation via the performance of the operation on the metadata is avoided and in response to a determination that the request is not the asynchronous request, performing the at least one operation on the metadata in at least near-real time without the delaying of the performance of the operation on the metadata with respect to the performance of the at least one other operation.
-
Specification