Invention Grant
US07769792B1 Low overhead thread synchronization system and method for garbage collecting stale data in a document repository without interrupting concurrent querying
有权
低开销线程同步系统和方法,用于垃圾收集文档库中的陈旧数据,而不会中断并发查询
- Patent Title: Low overhead thread synchronization system and method for garbage collecting stale data in a document repository without interrupting concurrent querying
- Patent Title (中): 低开销线程同步系统和方法,用于垃圾收集文档库中的陈旧数据,而不会中断并发查询
-
Application No.: US11352023Application Date: 2006-02-10
-
Publication No.: US07769792B1Publication Date: 2010-08-03
- Inventor: Michael Burrows , Jeffrey A. Dean
- Applicant: Michael Burrows , Jeffrey A. Dean
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Morgan, Lewis & Bockius LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
A tokenspace repository stores documents as a sequence of tokens. In each of a sequence of non-overlapping epochs, execution of a respective set of queries against the repository is initiated in a plurality of threads. During each epoch, entries identifying portions of the repository to be deleted are added to a respective epoch-specific list. The system or process maintains a respective epoch-specific count of the number of threads that potentially reference any of the portions of the repository identified by entries in the respective epoch-specific list; and it also maintains the epoch-specific count of each prior epoch whose epoch-specific count is not equal to a predefined final value. After the end of each epoch, when the corresponding epoch-specific count reaches the predefined final value, the system or process deletes from the repository all portions of the repository corresponding to the entries in the corresponding epoch-specific list.
Information query