roq-messaging / RoQ

RoQ, Elastically scalable MOM
21 stars 4 forks source link

Roq active master #167

Closed vanmellebenjamin closed 9 years ago

vanmellebenjamin commented 9 years ago

@sskhiri @jbruggem @ahderman

This push request contains the GCM code which makes it HA, by using leader election. I modified some functionalities such as queue creation process and exchange creation process in order to make them idempotent. Ask me for more details about that, or look at the integration tests in order to understand what I mean.

In addition, the request contains a new test environment based on Docker (in roq-simulation). This one allows to create docker containers in order to test failover mechanisms etc. The code is based on a recent spotify lib called docker-client. Currently, all the tests pass.

I will update the readme to indicate how to configure your docker to run these tests on your own system.