Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running IIS7.5 running a website for a software application. The application supports automatic updates so when I release a new version, the server gets pounded with download requests from the software.

I have setup a bunch of small VPS's that I'd like to use to serve up the requested download. Due to the way the software automatic update request works, the requested download URL is always from the same server/URL.

So, I'd like to know if I setup IIS to redirect requests to a certain URL to a random or round-robin list of mirror sites.

For example, the download request comes in for http://osirisdevelopment.com/BatteryBar/BatteryBarSetup.exe. IIS would returns a 302 code with a location header to http://mirror1.osirisdevelopment.com/BatteryBarSetup.exe, etc.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Microsoft provides a load balancing service that could be configured in front of IIS to do this. Otherwise you might need a bit of custom code to pick a new URL & redirect.

one suggestion is that you could code the site to to report "no update" to x% of clients during an update cycle and have X gradually decrease to 0 over a few hours/days to help spread out the load.

share|improve this answer
    
I attempted to use ARR, but it's setup to work with server farms and isn't flexible enough to provide mirrors for specific links with potentially different download Urls. I ended up writing my own Url Rewrite provider. I like the idea of not reporting the update to all users right away. I'll look into that. –  Chris Thompson Jun 20 '11 at 4:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.