发明名称 |
Distributing retained messages information in a clustered publish/subscribe system |
摘要 |
A method, product and apparatus for distributing retained messages information in a clustered publish/subscribe system. The method comprising obtaining a set of Retained Message Filters (RMFs) comprising a RMF for each server in the cluster, wherein the RMF representing a set of topics for which retained messages are retained by the server, the RMF being configured to approximate whether the server retains a retained message that matches a subscription; responsive to receiving a subscription request from a client, applying the set of RMFs to the subscription to obtain an indication of a set of servers that potentially retain retained messages that match the subscription; triggering each server in the set of servers to perform retrieval of retained messages that match the subscription; and sending to the client the retained messages retrieved from the servers in the set of servers. |
申请公布号 |
US2017126603(A1) |
申请公布日期 |
2017.05.04 |
申请号 |
US201514924749 |
申请日期 |
2015.10.28 |
申请人 |
International Business Machines Corporation |
发明人 |
Chen Chen;Harpaz Avraham;Naaman Nir;Tock Yoav |
分类号 |
H04L12/58;H04L29/06 |
主分类号 |
H04L12/58 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer-implemented method performed by a server in a cluster of publish/subscribe system, the method comprising:
obtaining a set of Retained Message Filters (RMFs) comprising a RMF for each server in the cluster, wherein the RMF representing a set of topics for which retained messages are retained by the server, the RMF being configured to approximate whether the server retains a retained message that matches a subscription; responsive to receiving a subscription request from a client, applying the set of RMFs to the subscription to obtain an indication of a set of servers that potentially retain retained messages that match the subscription; triggering each server in the set of servers to perform retrieval of retained messages that match the subscription; and, sending to the client the retained messages retrieved from the servers in the set of servers. |
地址 |
Armonk NY US |