System and method for reducing data presentation delays
Abstract
In certain implementations, data presentation delay resulting from network-related delays may be reduced. As an example, delay of a presentation related to a requested value may be significantly reduced even if network-related delays for certain data relevant to the value occur (e.g., delays in retrieving certain subsets of data related to calculating the value). In some implementations, a set of queries for data related to a value may be performed, where the set of queries includes (i) a first subset of queries and (ii) one or more other subsets of queries. The value may be predicted based on subsets of data for calculating the value (which are derived from the first query subset). Such prediction of the value may be performed (and provided for presentation) before other subsets of data for calculating the value are received (which are derived from the other query subsets), thereby reducing data presentation delay.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method of reducing data presentation delay resulting from network-related delays, the method being implemented by a computer system that includes one or more processors executing computer program instructions that, when executed, perform the method, the method comprising:
receiving a request for presentation related to a value; performing, based on the request, a set of queries for data related to the value, wherein the set of queries comprise (i) a first subset of queries performed based on the request and (ii) one or more other subsets of queries performed based on the request; receiving, based on the first subset of queries, subsets of data for calculating the value; predicting the value based on the subsets of data, wherein the prediction of the value is performed before one or more other subsets of data for calculating the value are received, and wherein the one or more other subsets of data are received based on the one or more other subsets of queries; and providing the predicted value for presentation of the predicted value.
2 . The method of claim 1 , further comprising:
updating, by the computer system, the prediction of the first value based on the one or more other subsets of data for calculating the first value; and initiating, by the computer system, updating of the presentation of the predicted first value based on the updated prediction.
3 . The method of claim 1 , further comprising:
receiving a second request for presentation related to a second value before the presentation of the predicted value is updated using the one or more other subsets of data; and interrupt updating of the presentation of the predicted first value based on the second request.
4 . The method of claim 1 , further comprising:
determining, based on the request, from which of a temporary data cache or a historical data store to stream data to obtain the data related to the value; and obtaining the data related to the value based on the determination regarding from which of the temporary data cache or the historical data store to stream data.
5 . The method of claim 4 , wherein obtaining the data related to the value comprises streaming data related to the value from the temporary data cache based on a determination to stream data from the temporary data cache to obtain the data related to the value.
6 . The method of claim 4 , wherein obtaining the data related to the value comprises streaming data related to the value from the historical data store based on a determination to stream data from the historical data store to obtain the data related to the value.
7 . The method of claim 1 , wherein the set of queries are performed across a plurality of sources, the plurality of sources comprising at least one internal source and at least one external source.
8 . The method of claim 7 , wherein the at least one internal source comprises at least one of a temporary data cache or a historical data store.
9 . The method of claim 7 , wherein the at least one external source comprises a third party source.
10 . The method of claim 1 , wherein the value is associated with an attribute, and the attribute comprises product category, product group, product satisfaction, stock-keeping unit (SKU), transaction time, user city, user state, user gender, user income, volume, overall revenue, or average revenue.
11 . The method of claim 1 , wherein the computer system comprises a server-side computer system, and wherein the request is a user request received from a mobile user device.
12 . A system comprising:
one or more processors programmed to execute one or more computer program instructions that, when executed, cause the one or more processors to:
receive a request for presentation related to a value;
perform, based on the request, a set of queries for data related to the value, wherein the set of queries comprise (i) a first subset of queries performed based on the request and (ii) one or more other subsets of queries performed based on the request;
receive, based on the first subset of queries, subsets of data for calculating the value;
predict the value based on the subsets of data,
wherein the prediction of the value is performed before one or more other subsets of data for calculating the value are received, and
wherein the one or more other subsets of data are received based on the one or more other subsets of queries; and
provide the predicted value for presentation of the predicted value.
13 . The system of claim 12 , wherein the one or more processors are caused to:
update the prediction of the value based on the one or more other subsets of data for calculating the value; and initiate updating of the presentation of the predicted first value based on the updated prediction.
14 . The system of claim 12 , wherein the one or more processors are caused to:
receive a second request for presentation of a second value before the presentation of the predicted value is updated using the one or more other subsets of data; and interrupt updating of the presentation of the predicted value based on the second request.
15 . The system of claim 12 , wherein the one or more processors are caused to:
determine, based on the request, from which of a temporary data cache or a historical data store to stream data to obtain the data related to the value; and obtain the data related to the value based on the determination regarding from which of the temporary data cache or the historical data store to stream data.
16 . The system of claim 15 , wherein obtaining the data related to the value comprises streaming data related to the value from the temporary data cache based on a determination to stream data from the temporary data cache to obtain the data related to the value.
17 . The system of claim 15 , wherein obtaining the data related to the value further comprises streaming data related to the value from the historical data store based on a determination to stream data from the historical data store to obtain the data related to the value.
18 . The system of claim 12 , wherein the set of queries are performed across a plurality of sources, the plurality of sources comprising at least one internal source and at least one external source, the at least one internal source comprising at least one of a temporary data cache or a historical data store.
19 . The system of claim 12 , wherein the computer system comprises a server-side computer system, and wherein the request is a user request received from a mobile user device.
20 . A method of reducing data presentation delay resulting from network-related delays, the method being implemented by a computer system that includes one or more processors executing computer program instructions that, when executed, perform the method, the method comprising:
receiving a request for presentation related to a value; performing, based on the request, a set of queries for data related to the value, wherein the set of queries comprise (i) a first subset of queries performed based on the request and (ii) one or more other subsets of queries performed based on the request; receiving, based on the first subset of queries, subsets of data for calculating the value; and predicting the value based on the subsets of data, wherein the prediction of the value is performed before one or more other subsets of data for calculating the value are received, and wherein the one or more other subsets of data are received based on the one or more other subsets of queries.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.