Let's say I have just one worker role and deploy it as Azure cloud service with 2 instance. And the work role registers an event from another independent service which runs somewhere(I don't need to care). When any event fires, the work role will get data from that service and forward to another independent service which runs somewhere(Again, I don't need care) after handling it.
Question: Since I have two instances, if there the event get fired, both of the two instance will be called at the same time and get the same data? That will cause problem because both instances will forward the same data which will cause the problem? I want Azure just make one instance active and the other one sleep. When the active one down, then the other one wake up and continue. How do I do that?
Great Wall