- 专利标题: Migration of durable clients in a clustered publish/subscribe system
-
申请号: US15872997申请日: 2018-01-17
-
公开(公告)号: US10812578B2公开(公告)日: 2020-10-20
- 发明人: Yoav Tock , Nir Naaman , Avraham Harpaz
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Ziv Glazberg
- 主分类号: H04L29/08
- IPC分类号: H04L29/08 ; G06F9/54 ; H04L12/24 ; H04L29/06
摘要:
Migration of a durable client in a publish/subscribe system from a first server of a cluster to a second server of the cluster. The method comprises the second server receiving subscription information of the durable client; the second server establishing a message queue for the durable client; the second server sending a switch command to all active servers of the cluster; in response to the second server obtaining, from an active server, an acknowledgement of the switch command, the second server inserting a marker to the message queue indicating switching point of the active server; and in response to the second server obtaining, from the first server, a message indicating the first server flushed all messages prior to respective switching points for all active servers, connecting the durable client to the second server and transmitting messages thereto by the second server. As a result, the durable client is migrated from the first server to the second server without disrupting data traffic to uninvolved clients.
公开/授权文献
信息查询