- 专利标题: Optimistic data fetching and rendering
-
申请号: US15394732申请日: 2016-12-29
-
公开(公告)号: US10277362B2公开(公告)日: 2019-04-30
- 发明人: Jing Chen , Yuzhi Zheng , Laney Elizabeth Kuenzel , Timothy Robert Yung , Lewis Marshall Roch, IV
- 申请人: Facebook, Inc.
- 申请人地址: US CA Menlo Park
- 专利权人: Facebook, Inc.
- 当前专利权人: Facebook, Inc.
- 当前专利权人地址: US CA Menlo Park
- 代理机构: FisherBroyles, LLP
- 主分类号: H04L1/08
- IPC分类号: H04L1/08 ; G06F17/30 ; H04L1/16
摘要:
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.
公开/授权文献
- US20170193127A1 OPTIMISTIC DATA FETCHING AND RENDERING 公开/授权日:2017-07-06
信息查询