Wide-Area Forwarding

Client applications can publish and subscribe across network boundaries. To enable this behavior, administrators define forwarding zones and wide-area stores.

Background

Ordinarily, a network limits the geographic scope of persistence. That is, a persistence cluster implements a store, and the durables of the store are accessible only to publishers and subscribers running within the network that connects the persistence services in the cluster.

Yet in some enterprises, it is important to access messages remotely, across network boundaries. That is, the publishers and subscribers are in separate networks, connected by a wide-area network (WAN). Wide-area stores support this situation.

Motivation

Consider a chain of retail outlets that generate data about sales, inventory, and expenses. In each outlet, some application programs publish messages with this data, and other application programs subscribe to those messages.

With wide-area stores, application programs at corporate headquarters can also subscribe to those messages, automatically receiving the messages from the retail outlets.

Infrastructure

The durables of a wide-area store are accessible to publishers and subscribers across a WAN link.

To designate a wide-area store, set its scope to zone, and assign the store to a zone.

Forwarding zones delineate the scope of wide-area stores. A forwarding zone contains a set of persistence clusters, which cooperate to forward messages among all the persistence clusters in that zone. (A zone can govern more than one wide-area store. A cluster can participate in more than one zone.)

Note: Forwarding applies to only the dynamic durables in a wide-area store. (Static durables do not support wide-area behavior.)
Note: Standard durables, shared durables, and last-value durables support wide-area forwarding. Maps do not support forwarding.

Persistence: Local and Wide-Area

Within each persistence cluster, a wide-area store replicates messages across the persistence services of the cluster. The persistence cluster assures message replication, retention, and delivery - subject to factors such as persistence limit parameters, store replication, the number of persistence services in the cluster, and local network connectivity. Local connectivity is sufficient to assure that messages are never lost, even if WAN connectivity is intermittent among the clusters of a zone.