Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

windows service and load balancing

$
0
0

Hi, I've started working on windows services lately and I'd like to know some answers to my doubts.

I have a windows service which runs everyday and performs a task. We have load balancer application for our production servers. So basically if one goes down, the other takes over full control until the other one comes back up. We make sure both these servers are in sync all the time. Now I have to set up this windows service, should I configure it on both servers? Will this windows service run on only one server or both servers at scheduled time?

Also, as part of this windows service, a csv file gets processed. This csv file will be uploaded by users from front end application. I have my setup on both servers so files gets uploaded sometimes on server1 and sometimes on server2. Due to this reason, should I configure my windows service on both servers so a correct file gets processed everytime?

All this is little confusing to me as there is very little information or samples of what I am trying to achieve. Currently, I have the service setup on only one server which is always active(has been so far). Sometimes the service gets stopped automatically for no reason.. and I have to go back and restart the service. How to overcome this issue?

Thanks for any hep.


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>