Processing in the replicate Replication Server

This section describes the processes involved when a replicate Replication Server receives incoming messages from a primary Replication Server.

“Processing in the primary Replication Server” describes processing for some of the threads—SQM, RSI, DSI—described in this section. Refer to Figure 4-1.

Figure 4-2: Transaction processing in the replicate Replication Server

Figure 4-2 illustrates the processes involved when a replicate Replication Server receives incoming messages from a primary Replication Server. In the primary replication server, messages are stored in the outbound stable queue through D I S T, which is then sent to by R S I to the replicate Replication Server. The R S I user thread in the replicate Replication Server serves as the client connection thread for incoming messages from the primary Replication Server. It calls the Message Delivery (M D) module to determine whether to send the message to a data server using D S I thread or another Replication Server using R S I thread. Once M D determines the Replication Servers to where the messages should be sent, messages are distributed through S Q M, stored in the outbound stable queue, and passes to their respective threads. The R S I thread sends the messages to other replicate Replication Server, while D S I thread sends messages to the replicate data server.