摘要 |
A method retrieves in order a plurality of specific topic-based messages in a distributed publish/subscribe system, the distributed publish/subscribe system comprising at least one message transit server, the method comprising: determining an order of a plurality of to-be retrieved messages; recording, in message transit server sequence information, message transit servers where the plurality of messages are located, respectively, an order of the message transit servers in the message transit server sequence information corresponding to the determined order of the plurality of messages; and retrieving in order the plurality of messages from corresponding message transit servers using the message transit server sequence information. |
主权项 |
1. A method for retrieving, in order, a plurality of specific topic-based messages in a distributed publish/subscribe system, the distributed publish/subscribe system comprising at least one message transit server, the method comprising:
determining, by one or more processors, an order of a plurality of messages that are planned for retrieval, wherein the order describes a time order in which each message, from the plurality of messages, is planned for retrieval compared to other messages from the plurality of messages; recording, by one or more processors, message transit server sequence information for message transit servers where each of the plurality of messages is respectively located, wherein the message transit server sequence information describes an order, of the message transit servers, that corresponds to a determined time order of the plurality of messages; and retrieving, by one or more processors and in said order of the message transit servers, the plurality of messages from corresponding message transit servers using the message transit server sequence information. |