roq-messaging / RoQ

RoQ, Elastically scalable MOM
21 stars 4 forks source link

Cycle detection in exchange re-location #141

Open sskhiri opened 11 years ago

sskhiri commented 11 years ago

Context

We need to setup detection cycle of re-allocation of publishers. The problem occur when:

The monitor will re-allocate the publisher on the exchange 2. But later the monitor will identify the same publisher as overloading and will reschedule a move on the exchange 1. This a cycle.

Solution

We need a cycle detection at the monitor level tracing the context stack of the last moves.