发明授权
- 专利标题: Systems and methods for storing message data
- 专利标题(中): 用于存储消息数据的系统和方法
-
申请号: US14879661申请日: 2015-10-09
-
公开(公告)号: US09385976B1公开(公告)日: 2016-07-05
- 发明人: Younès Hafri
- 申请人: Machine Zone, Inc.
- 申请人地址: US CA Palo Alto
- 专利权人: MACHINE ZONE, INC.
- 当前专利权人: MACHINE ZONE, INC.
- 当前专利权人地址: US CA Palo Alto
- 代理机构: Goodwin Procter LLP
- 主分类号: G06F15/16
- IPC分类号: G06F15/16 ; H04L12/58 ; H04L29/08 ; G06F15/167
摘要:
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, are described for storing message data in a PubSub system. In certain examples, messages are received from a plurality of publishers for a plurality of distinct channels. The messages are ordered and stored in a plurality of buffers, with each channel having its own respective buffer. After a message has been written to a writable portion of the buffer for a channel, a pointer demarking a boundary between a readable portion of the buffer and the writeable portion of the buffer is advanced in an atomic operation. Following the atomic operation, the message resides in the readable portion and may be accessed by PubSub system components and/or processes. In general, one or more subscribers, components, or processes may read messages from the readable portion, in parallel.
信息查询