Method and system for application level load balancing in a publish/subscribe message architecture
First Claim
1. A method of publishing a message, the method comprising:
- receiving a subscription request at a first remote relay from a first client, wherein the subscription request includes a target;
transmitting a subscription message from the remote relay to each of a first set of central relays, wherein the subscription message includes the target;
receiving a publication request at a second remote relay from a second client, wherein the publication request includes a message string characterized by a pattern;
transmitting a publication message from the second remote relay to a first central relay of the first set of central relays and a second central relay of a second set of central relays, wherein the publication message includes the message string;
determining, at the first central relay, that the target matches at least a portion of the pattern;
transmitting the message string from the first central relay to the first remote relay;
determining, at the first remote relay, that the target matches at least a portion of the pattern; and
transmitting the message string to the first client.
0 Assignments
0 Petitions
Accused Products
Abstract
A method of publishing a message includes receiving a subscription request at a first remote relay from a first client and transmitting a subscription message from the remote relay to each of a first set of central relays. The method also includes receiving a publication request at a second remote relay from a second client and transmitting a publication message from the second remote relay to a first central relay of the first set of central relays and a second central relay of a second set of central relays. The method further includes determining, at the first central relay, that a target matches at least a portion of a pattern, transmitting the message string from the first central relay to the first remote relay, determining, at the first remote relay, that the target matches at least a portion of the pattern, and transmitting the message string to the first client.
94 Citations
23 Claims
-
1. A method of publishing a message, the method comprising:
-
receiving a subscription request at a first remote relay from a first client, wherein the subscription request includes a target; transmitting a subscription message from the remote relay to each of a first set of central relays, wherein the subscription message includes the target; receiving a publication request at a second remote relay from a second client, wherein the publication request includes a message string characterized by a pattern; transmitting a publication message from the second remote relay to a first central relay of the first set of central relays and a second central relay of a second set of central relays, wherein the publication message includes the message string; determining, at the first central relay, that the target matches at least a portion of the pattern; transmitting the message string from the first central relay to the first remote relay; determining, at the first remote relay, that the target matches at least a portion of the pattern; and transmitting the message string to the first client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A publish/subscribe message architecture comprising:
-
a first set of central relays; a second set of central relays; a first remote relay in communication with the first set of central relays; a first client in communication with the first remote relay, wherein the first remote relay is operable to transmit a subscription request to each of the central relays in the first set of central relays; a second remote relay in communication with the second set of central relays; a second client in communication with the second remote relay, wherein the second remote relay is operable to transmit a publication message to one of the central relays in the first set of central relays and one of the central relays in the second set of central relays. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A method of operating remote relays, the method comprising:
-
receiving, at a first remote relay, a subscription request from a first remote client, wherein the subscription request includes a target; recording, in a computer readable medium of the first remote relay, identify information associated with the first remote client and information associated with the target; transmitting a subscription message to each of a first set of central relays, wherein the subscription message includes the target; receiving, at a second remote relay, a publication request from a second remote client, wherein the publication request includes a message string characterized by a pattern; transmitting a publication message from the second remote relay to a first central relay of a first set of central relays and a second central relay of a second set of central relays, wherein the publication message includes the message string; receiving, at the first remote relay, the message string from the first central relay; determining, at the first remote relay, that the target matches at least a portion of the pattern; and transmitting the message string from the first remote relay to the first client. - View Dependent Claims (21, 22, 23)
-
Specification