US 12,242,638 B2
Mechanisms to predict system resource consumption of transactions
Arjun Kumar Sirohi, Uttarakhand (IN); Lakshman Martha, Chester Springs, PA (US); and Sirisha Tummalapenta, Serilingampally (IN)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jan. 31, 2023, as Appl. No. 18/162,131.
Prior Publication US 2024/0256700 A1, Aug. 1, 2024
Int. Cl. G06F 21/62 (2013.01); G06F 16/23 (2019.01)
CPC G06F 21/6227 (2013.01) [G06F 16/2379 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method for determining whether a transaction that includes recomputing a precomputed permissions data structure will exceed a system resource threshold, the method comprising:
storing, by a computer system, the precomputed permissions data structure in association with particular data stored in a database, wherein the precomputed permissions data structure is usable to determine whether a user can access the particular data when processing a data request that is directed at the particular data;
capturing, by the computer system, metric information that pertains to a set of parameters involved in different types of transactions that can be performed to recompute the precomputed permissions data structure;
receiving, by the computer system, an update request whose processing involves executing the transaction, wherein the transaction is of a particular one of the different types of transactions that can be performed to recompute the precomputed permissions data structure; and
determining, by the computer system based on the metric information and the particular type of the transaction, whether an execution of the transaction will exceed the system resource threshold.