Difference between revisions of "Cattaskv2009 Communication"

From Catglobe Wiki
Jump to: navigation, search
Line 19: Line 19:
 
[http://ayende.com/Blog/archive/2008/12/17/rhino-service-bus.aspx Rhino Service Bus] (RSB) is an [http://en.wikipedia.org/wiki/Enterprise_service_bus ESB] which is built on the top of MSMQ. In short, a Rhino service bus:  
 
[http://ayende.com/Blog/archive/2008/12/17/rhino-service-bus.aspx Rhino Service Bus] (RSB) is an [http://en.wikipedia.org/wiki/Enterprise_service_bus ESB] which is built on the top of MSMQ. In short, a Rhino service bus:  
  
[[Image:http://wiki.catglobe.com/images/f/f7/CatTask_A_simple_bus.JPG]]
+
[[Image:CatTask A simple bus.JPG]]  
  
 
- Has a queue which it monitors for incoming messages. It is the "own queue" in the image below.
 
- Has a queue which it monitors for incoming messages. It is the "own queue" in the image below.
  
 
== Buses design for CatTask ==
 
== Buses design for CatTask ==

Revision as of 04:31, 20 March 2009

Communication in Cattask v2009


What kind of communication do we need?

In the real production environment, because of the use of network balancing, one CatGlobe site is deployed in three separate servers. Besides, we decided that there will be one "Cattask" for one deployed instance of a site. The running production environment should look like:

Cattask deployment-overview.JPG


The problem is that the three cattasks won't run independently. Instead, they must contact with each others to share information about scheduled tasks, tasks execution...

So what communication technology should we use?

We have investigated 3 communication techniques so far: remoting, WCF and MSMQ. You can find the whole story here Remoting,WCF and MSMQ for CatTask . At the moment, we are designing the module using MSMQ with the help of Rhino Service Bus.

Rhino Service Bus

Rhino Service Bus (RSB) is an ESB which is built on the top of MSMQ. In short, a Rhino service bus:

CatTask A simple bus.JPG

- Has a queue which it monitors for incoming messages. It is the "own queue" in the image below.

Buses design for CatTask