Reactive Query Applications with failover (or Master Slave)


  • Hello,

    I have an application that is running a reactive query. I want to give failover capability to the application.

    I understand the following things to take into consideration

    a) PlayBack of events from the source

    b) persisting the message id at the entry of the reactive query,

    but I am unable to understand,what i need to do to save state inside the reactive query

    Can anyone suggest, what according to you are the things which needs to be taken care of -


    Wednesday, January 01, 2014 6:35 PM

All replies

  • I had similar though when I started using Reactive; I do log the state before giving the object to reactive query. But inside the query on every stage you can log the object status and save the latest state indatabase (i.e you object will have unique identifier). This way if there is error you can reconsruct your input source. 
    Wednesday, January 08, 2014 3:59 AM
  • Hello,

    Is it possible for you to paste an example of what you mean by object state


    Wednesday, January 08, 2014 4:02 AM
  • I dont have right now my each object has few properties and unique identifier
    Wednesday, January 08, 2014 4:20 AM
  • Hello Ocean,

    If you get a chance, would you please update it with a sample code


    Wednesday, January 08, 2014 4:31 AM