Configuring Load Balancing in Publication Service
Publication Service services with the same mutex name specified are in the same load balancing group. You can configure load balancing at design time for the publisher endpoints.
Note: When working with load balancing in Publication Service, note the following conditions:
- When creating two or more adapter configurations, you must load the same source table to all Publication Service services in each adapter configuration.
- Publishing tables must be the same for all Publication Service services in each adapter configuration. If you select the Write to Database on Save check box in one adapter configuration, to ensure that all publishing tables are the same, you must keep this check box cleared in the other adapter configurations.
- Specify the same mutex name in the Publication Options tab for all Publication Service services in each adapter configuration.
- Specify the same message subject or destination in the Configuration tab for all Publication Service services in each adapter configuration.
- Creating an Adapter for Database Connection
This example uses an Oracle database connection. - Creating Publication Adapter Configurations
After creating an Adapter for Database connection, you can create publication adapter configurations. - Creating Services of Publication Service
After creating adapter configurations for load balancing, you have to add Publication Service to each adapter configuration. - Configuring Load Balancing for Publication Service
At run time, the Publication Service services of the same load balancing group create a mutex table that was configured in the load balancing group, poll the same publishing table, and distribute loads. The Publication Service services synchronize by locking the mutex table to obtain and update the sequence information.
Copyright © Cloud Software Group, Inc. All rights reserved.