- 专利标题: Method and system for an atomically updated, central cache memory
-
申请号: US11184578申请日: 2005-07-19
-
公开(公告)号: US07089365B2公开(公告)日: 2006-08-08
- 发明人: David C. Brown , Mikhail V. Leonov , Michael M. Byrd
- 申请人: David C. Brown , Mikhail V. Leonov , Michael M. Byrd
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Merchant & Gould, LLC
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
Disclosed is a central cache that is updated without the overhead of locking. Updates are “atomic” in that they cannot be interrupted part way through. Applications are always free to read data in the cache, accessing the data through a reference table. Applications do not directly update the cache, instead, they send update requests to a service routine. To update the cache, the service routine proceeds in two phases. In the first phase, the service routine prepares the new data and adds them to the cache, without updating the reference table. During the first phase, an application accessing the cache cannot “see” the new data because the reference table has not yet been updated. After the first phase is complete, the service routine performs the second phase of the update process: atomically updating the reference table. The two-phase update process leaves the cache, at all times, in a consistent state.
公开/授权文献
信息查询