liveness

1 post / 0 new
njc
Offline
Last seen: 10 years 6 days ago
Joined: 08/09/2012
Posts: 17
Instance state and network partitions

Say there is a single reader and writer on two separate nodes on a network. The writer is writing a single instance. They are using (automatic) liveness QoS. The application is reading data from the data reader via on_data_available of the DataReaderListener and it has received at least one sample of the instance. Now, there is a network parition. Because of the liveness QoS, the data reader will eventually be notified via on_data_available that the instance is in the NOT_ALIVE_NO_WRITERS state.

Subscribe to RSS - liveness