rebus-org / Rebus

:bus: Simple and lean service bus implementation for .NET
https://mookid.dk/category/rebus
Other
2.31k stars 362 forks source link

Distributor process #19

Closed mookid8000 closed 10 years ago

mookid8000 commented 12 years ago

Implement a distributor process. This most likely involves doing the following:

Was that it?

asgerhallas commented 12 years ago

+1 :)

mookid8000 commented 12 years ago

Who needs this? I don't.

If you need it, you could use RabbitMQ instead of MSMQ - then you get to scale by having competing consumers, which is simpler to set up.

mookid8000 commented 10 years ago

Could still be fun to implement :)

mookid8000 commented 10 years ago

I'd make it more like a load balancer though, so no req/rep between distributor and worker, just distributor forwarding messages to an array of workers

mookid8000 commented 10 years ago

I'd pull in Topshelf and just use MsmqMessageQueue In order to avoid spending time serializing/deserializing

mookid8000 commented 10 years ago

Simple load balancer POC has been made: LoadBalancerService - is just a simple lightweight Rebus endpoint that distributes messages between a number of workers, round robin-style.

You can read more in my blog post