Patent ID: 8271641

Claim:
A multi-tenant database system comprises: a plurality of application servers configured to receive requests from a set of user systems of a set of users of a given tenant, wherein each of the application servers includes a local store and a global store, and each of the local stores is configured to store the number of requests received by the application server associated with the local store for the given tenant; and a processor configured to receive from the application servers the number of requests received by each of the application servers for the given tenant; and a network configured to communicatively couple the application servers and the processor, wherein: the processor is configured to determine the a total number of requests received by all of the application servers for the given tenant, and send the total number of requests received by all the application servers to each of the application servers, the global store of each of the application servers is configured to store the number of requests received by each of the other application servers for the given tenant or the number of requests received by each of the application servers for the given tenant, at least a given one of the plurality of application servers is configured to compare the total number of requests received by the plurality of application servers with a threshold number of requests associated with the given tenant, and when the total number of requests received by the plurality of application servers is greater than the threshold number of requests, then the given application server is configured to perform at least one of sending messages to the user systems in communication with the given application server for the given tenant that the threshold number of threshold requests has been exceeded, and discontinuing accepting requests from the user systems in communication with the given application server for the given tenant; when the network fails between the given application server and the processor, then the given application server is configured to compare the number of requests received that is stored in the given application server's local store with the threshold number of requests, and when the number of requests received by the given application server is greater than the threshold number of requests, then the given application server is configured to perform at least one of sending messages to the user systems in communication with the given application server for the given tenant that the threshold number of threshold requests has been exceeded, and discontinuing accepting requests from the user systems in communication with the given application server for the given tenant.