Nitin K
Nitin K

Reputation: 47

File download from web farm

I am working on a project where we want to provide link to download excel file. We are using NLB for load balancing,NLB cluster contains 3 machines. constraint is that excel file to be downloaded is available on a single machine. How to ensure that HTTP request underneath will served from the same mahine?

Upvotes: 1

Views: 261

Answers (1)

buda
buda

Reputation: 2372

I think you cannot do that, as you thing.

Maybe the best solution is to create shared folder, and save all resources (files, images etc.) to that folder, on each server create virtual directory point to that folder, and use that path when providing link for downloading file.

Another solution is to use ip-based load balancer but this it is not recommended solution.

I hope you understand me, if not feel free to ask.

Upvotes: 2

Related Questions