Invention Grant
- Patent Title: Optimistic data fetching and rendering
-
Application No.: US15394732Application Date: 2016-12-29
-
Publication No.: US10277362B2Publication Date: 2019-04-30
- Inventor: Jing Chen , Yuzhi Zheng , Laney Elizabeth Kuenzel , Timothy Robert Yung , Lewis Marshall Roch, IV
- Applicant: Facebook, Inc.
- Applicant Address: US CA Menlo Park
- Assignee: Facebook, Inc.
- Current Assignee: Facebook, Inc.
- Current Assignee Address: US CA Menlo Park
- Agency: FisherBroyles, LLP
- Main IPC: H04L1/08
- IPC: H04L1/08 ; G06F17/30 ; H04L1/16

Abstract:
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.
Public/Granted literature
- US20170193127A1 OPTIMISTIC DATA FETCHING AND RENDERING Public/Granted day:2017-07-06
Information query