US 12,217,058 B2
Multi-layer data cache to prevent user experience interrupts during feature flag management
Ming Xiao, Mountain View, CA (US); and Kingsley Ochu, Edmonton, CA (US)
Assigned to Brex, Inc., New York, NY (US)
Filed by Brex Inc., Draper, UT (US)
Filed on Oct. 19, 2023, as Appl. No. 18/490,233.
Application 18/490,233 is a continuation of application No. 17/564,641, filed on Dec. 29, 2021, granted, now 11,829,757.
Prior Publication US 2024/0126550 A1, Apr. 18, 2024
Int. Cl. G06F 9/30 (2018.01); H04L 67/568 (2022.01)
CPC G06F 9/30047 (2013.01) [G06F 9/30043 (2013.01); G06F 9/30189 (2013.01); H04L 67/568 (2022.05)] 20 Claims
OG exemplary drawing
 
17. A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause a computing device to perform operations comprising:
receiving, by an application on the computing device, feature flag data for a feature flag of the application, wherein the feature flag is associated with an application functionality of the application;
storing the feature flag data in a first memory for the application on the computing device, wherein the memory persists in the computing device after exiting the application;
detecting a current usage of the application;
determining that a first amount of time has elapsed between the current usage of the application and a previous usage of the application, wherein the first amount of time meets or exceeds a threshold amount of time designated for loading or updating the feature flag for the application functionality; and
determining, based on current usage and the first amount of time, whether to load or update the feature flag using the feature flag data and a second memory for the application, wherein the second memory is erased after exiting the application.