Patent ID: 11934316
Assignee: PAYPAL, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A non-transitory computer-readable medium having instructions stored thereon that are executable by a computing system to perform operations comprising:
caching, in a software cache that is implemented using one or more hardware storage elements, data for a plurality of different user accounts;
iteratively training a machine learning module based on access patterns to the cache by a subset of the user accounts and based on simulated cache information that is generated based on first control values and first time-to-live values for entries in the cache that are output by the machine learning module during the iterative training, wherein the simulated cache information includes:
a simulated hit rate for the cache for the subset of user accounts;
simulated read access times for the cache for the subset of user accounts; and

operating the trained machine learning module to generate, based on access patterns to the cache:
a control value that specifies a size of the cache; and
time-to-live values for entries in the cache;

controlling a size of the cache based on the control value; and
evicting data from the cache based on the time-to-live values.