Custom handler processes multiple requests serially and not simultaneouslly

喜你入骨 提交于 2020-01-05 03:37:09

问题


Created a custom handler and behaves as my title states, but I need parallel processing of requests. This handler asks to a second machine for html content, images and other web page related content. But as every request gets kind of "queued" the result is a very slow response of content. Web browsers are able to send multiple requests at the same time, but this "problem" reduces it to a single request.

I've verified this behavior logging the begging and ending of the handler. Never a request starts before the previous ends.

Also logged global.asax Application_BeginRequest event, and note that this event is called as fast as the request is received. The problem is somehow between the fire of this event and the invocation of my handler.

Any help would be really appreciate.

来源:https://stackoverflow.com/questions/20846794/custom-handler-processes-multiple-requests-serially-and-not-simultaneouslly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!