发明授权
- 专利标题: Fast sequential message store
- 专利标题(中): 快速顺序消息存储
-
申请号: US12176222申请日: 2008-07-18
-
公开(公告)号: US08261286B1公开(公告)日: 2012-09-04
- 发明人: Maxim E. Fateev , Alan Stuart Robbins , Marvin M. Theimer
- 申请人: Maxim E. Fateev , Alan Stuart Robbins , Marvin M. Theimer
- 申请人地址: US NV Reno
- 专利权人: Amazon Technologies, Inc.
- 当前专利权人: Amazon Technologies, Inc.
- 当前专利权人地址: US NV Reno
- 代理机构: Knobbe Martens Olson & Bear LLP
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F15/16 ; G06F11/00
摘要:
A broker may be used as an intermediary to exchange messages between producers and consumers. The broker may store and dispatch messages from a physical queue stored in a persistent memory. More specifically, the broker may enqueue messages to the physical queue that are received from producers and may dispatch messages from the physical queue to interested consumers. The broker may further utilize one or more logical queues stored in transient memory to track the status of the messages stored in persistent memory. As messages are dispatched to and acknowledged by interested consumers, the broker deletes acknowledged messages from the physical queue. The messages deleted are those preceding a physical ACKlevel pointer that specifies the first non-acknowledged message in the physical queue. The physical ACKlevel pointer is advanced in the physical queue based on the relative position of corresponding logical ACKlevel pointers maintained by the logical queues.
信息查询