并行获取URL [英] Fetching URLs in Parallel

查看:61
本文介绍了并行获取URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


Web Application Stress工具之类的应用程序如何运作?

如何快速发出请求而不被缓慢执行的请求阻止?


我可以使用什么技术来创建一个最多可以获取10的对象网址

并行,并能够在1.5

秒内超时并终止所有请求?


此对象将被使用在服务器端,将被多次调用

每秒。


是否有这样的组件待售?


谢谢,

Arsen

解决方案

根据虚拟用户数生成新线程。这样没有线程

阻止另一个。在一台计算机上,与多台计算机相比,您仍然可以体验到一些减速的价格,但是您仍然可能比真实用户产生更多的b $ b b请求。希望这会有所帮助。


-

Gregory A. Beamer

MVP; MCP:+ I,SE,SD,DBA


**************************** *********************

在盒子外面思考!

******** *****************************************

" ; Arsen V. < AR *** @ community.nospam>在消息中写道

新闻:OB ************** @ TK2MSFTNGP14.phx.gbl ...

你好,
像Web Application Stress工具这样的应用程序如何工作?
如何快速发出请求而不被缓慢执行的请求阻止?

我可以使用什么技术创建一个最多可以获取10的对象
URL并行并且能够超时并终止
1.5
秒内的所有请求?

此对象将在服务器端使用并将被调用很多
每秒


有这样的组件出售吗?

谢谢,
Arsen






但是如何在1.5
$ b后异常杀死阻塞的线程$ b超时?


谢谢,

Arsen


让其他线程杀死他们,之后1.5超时:]


天使

O:]

" Arsen V." < AR *** @ community.nospam>在消息中写道

新闻:#m ************** @ TK2MSFTNGP10.phx.gbl ...


谢谢,
Arsen


Hello,

How does an application like the Web Application Stress tool work? How does
it issue requests so fast without being blocked by slow executing ones?

What technique can I use to create an object that would fetch up to 10 URLs
in parallel and be able to timeout and terminate all the requests within 1.5
seconds?

This object would be used on the server side and would be called many times
per second.

Is there a component like this for sale?

Thanks,
Arsen

解决方案

Spawn new threads based on the number of virtual users. That way no thread
blocks another. On a single machine, you can still experience some slow down
compared to multiple machines, but you are still likely to spawn more
requests than real users. Hope this helps.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside the box!
*************************************************
"Arsen V." <ar***@community.nospam> wrote in message
news:OB**************@TK2MSFTNGP14.phx.gbl...

Hello,

How does an application like the Web Application Stress tool work? How
does
it issue requests so fast without being blocked by slow executing ones?

What technique can I use to create an object that would fetch up to 10
URLs
in parallel and be able to timeout and terminate all the requests within
1.5
seconds?

This object would be used on the server side and would be called many
times
per second.

Is there a component like this for sale?

Thanks,
Arsen



Hi,

But how to instantenuously kill threads that are blocking after the 1.5
timeout?

Thanks,
Arsen


Have another thread kill them, after the 1.5 timeout :]

Angel
O:]
"Arsen V." <ar***@community.nospam> wrote in message
news:#m**************@TK2MSFTNGP10.phx.gbl...

Hi,

But how to instantenuously kill threads that are blocking after the 1.5
timeout?

Thanks,
Arsen



这篇关于并行获取URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆