Summary: This page explains how to configure replication gateway targets of a space.
OverviewEach space that is replicating to another space (or spaces) is actually replicating to the local gateway of the target space, and that gateway is in charge of dispatching the replication to the relevant partitions. Such replicating space needs be configured with the name of each of the target gateways and replication related parameters per gateway or for all gateways. Here is an example of how this configuration should look: <os-core:space id="space" url="/./myNYSpace" gateway-targets="gatewayTargets"/> <os-gateway:targets id="gatewayTargets" local-gateway-name="NEWYORK" idle-time-threshold="3000" bulk-size="1000" max-redo-log-capacity="1000000"> <os-gateway:target name="LONDON" /> <os-gateway:target name="HONGKONG" bulk-size="100"/> </os-gateway:targets> Each configuration can be configured for all gateways or specifically per each gateway as seen in the above example, max-redo-log-capacity is configured for all gateways while bulk-size is specifically overridden in the configuration of HONGKONG gateway target. A recommended reading regarding the replication redo-log is Controlling the Replication Redo Log. Configurable Parameters
If one of the gateway targets name matches the local-gateway-name, it will be filtered and removed from the list at deploy time. This may be helpful for creating symmetric configuration which is demonstrated at Multi-Site Replication (WAN) page. |
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |