US 12,136,114 B2
System and method for asynchronous pricing to improve pricing service scalability
Parth Vijay Vaishnav, Newark, CA (US); and Mitchell Christensen, Grass Valley, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Sep. 20, 2022, as Appl. No. 17/933,731.
Prior Publication US 2024/0095789 A1, Mar. 21, 2024
Int. Cl. G06Q 30/0283 (2023.01)
CPC G06Q 30/0283 (2013.01) 16 Claims
OG exemplary drawing
 
1. An article of manufacture comprising:
a non-transitory machine-readable storage medium that provides instructions that, if executed by a set of one or more electronic devices, are configurable to cause the set of electronic devices to perform operations comprising:
receiving a first pricing request in accordance with a first application programming interface (API) of a first pricing service, the first pricing request indicating a first set of pricing data of a first size,
responsively performing by the first pricing service a first set of pricing operations on the first set of pricing data to generate a first pricing result;
receiving a second pricing request in accordance with a second API of the first pricing service or a second pricing service, the second API supporting asynchronous pricing operations, the second pricing request indicating a second set of pricing data of a second size greater than the first size;
subdividing the second set of pricing data indicated by the second pricing request into a plurality of portions;
scheduling, by a scheduler, a plurality of pricing jobs corresponding to the plurality of portions, each pricing job indicating a separate set of pricing operations;
queuing, by the scheduler, the plurality of pricing jobs for execution;
executing the plurality of pricing jobs partly or entirely in parallel by pricing engines of the first pricing service and/or the second pricing service to produce a corresponding plurality of partial results; and
aggregating the plurality of partial pricing results to generate a second pricing result.