Load balancing a console application or service

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-29T13:25:47Z Indexed on 2010/03/29 14:23 UTC
Read the original article Hit count: 613

Filed under:
|
|
|

So it's easy to load balance an ASP.NET web application. You set up a load balancer between two servers, and if the web server isn't responding on Port 80, it won't receive requests.

Are there any proven techniques for doing this for a C# console application or Windows service that takes actions of its own volition? Are there any frameworks for knowing if peer processes are alive or dead, doing heartbeats, etc?

I've been experimenting a bit with NServiceBus and it seems like, for certain kinds of applications, it would help to have most of the work done as a response to an event, which makes it more like a web application, actually, and therefore easier to scale and load balance with multiple processes, but I feel like that's a half-baked solution since in most cases there usually needs to be some concept of a "master" process that's responsible for getting work started.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET