basicdays
basicdays

Reputation: 1969

Using Http Pipelining for Rest on IIS

Given a workflow that I support, there is a high chance that there would be at least a hundred consecutive calls to the same resource done in rapid succession. I started looking into batching calls for Rest and ran into people suggesting Http Pipelining as the solution. My understanding is that the client will be able to make dozens of requests across the same connection, one right after the other, and dealing the responses whenever they get back.

I think this type of solution is more or less what I'm looking for. I'm currently developing an Asp.net MVC with the resources extension to make a Restful website (http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24471). Also the clients are using the WCF Rest starter kit client module to call Rest.

Here are the pieces of information that I'm looking for:

This should be sufficient to keep me going in the quest for Restful services. Thanks for your help!

Upvotes: 1

Views: 2073

Answers (1)

Kev
Kev

Reputation: 119806

HTTP Pipelining is built into the http.sys kernel mode driver. It is on by default. ASP.NET as the service end-point doesn't need to know about pipelining, all it is concerned about is processing a request and returning a response. Http.sys takes care of managing pipelining.

Upvotes: 4

Related Questions