Hi, I am working on design for a resource server. I want to gather some industry best practices on it.
Scenario:
A data driven portal application hosted on a web farm.
Whenever a request comes, controls are rendered and response is sent. For each image on the page, browser requests for the image separately using a webservice. Since they all are catered through one IIS7 pipeline, there is session contention. Therefore the first request completes, the rest of the requests(for images, etc) follow one after another and the total page load time gets low.
One solution is to take out the general resource handler service out of the solution and deploy it as a standalone service. This will still have some lagging affect but there wont be any session contention, session setup, request setup operations involved which are otherwise required. The problem with this approach is how do I know that the request has been validated?
Please provide some feedback and suggestions.
Thanks