FisherBroyles, LLP
Optimistic data fetching and rendering
Embodiments are disclosed for fast data fetching and rendering. In some embodiments, in response to receiving a page display request, a system constructs a static, possibly nested query for retrieving all the data to be rendered for the page and stores the query result in a data store. For a future page display request, the system similarly constructs a query and determines whether the query can be resolved from the data store. If not, the system constructs a “diff query” to fetch only the missing data. In some embodiments, in response to a subsequent page update request, the system retrieves from the server all the data likely to be viewed or updated and renders the data changes corresponding to the requested update. The system then submits the data changes to the server and undoes the rendering of the data changes when the server fails to process the data changes.
Facebook, Inc.
G H G G G H G
G06F H04L G06F G06F G06F H04L G06F
inventional inventional inventional inventional inventional inventional inventional
Yuzhi Laney Elizabeth Timothy Robert Jing Lewis Marshall
Zheng Kuenzel Yung Chen Roch, IV