RE: Is a client robot an OS thread?

Kevin Xie1 <Kevin_Xie1-okLH5SSHHyRWk0Htik3J/[email protected]> Thu, 3 May 2012 12:31:17 -0700
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <3E6DF46E67210942B7919419E636D0291552F6DA88@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM>
Thanks for your quick response, Dmitry.

However, I don't understand how a single thread can simulate multiple concurrent "users" submitting request to web servers. Is it that the single thread iterates all open connections one by one (submitting a request or processing response one at a time)? This can be easily bound by CPU since just 1 core is used at a time, or by slow connections ..., do I miss something here, or my understanding is fundamentally wrong?

Appreciated for any light shed!

Kevin

-----Original Message-----
From: Dmitry Kurochkin [mailto:dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org] 
Sent: May-03-12 3:19 PM
To: Kevin Xie1
Cc: users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
Subject: Re: Is a client robot an OS thread?

Hi Kevin.

Kevin Xie1 <Kevin_Xie1-okLH5SSHHyRWk0Htik3J/[email protected]> writes:

> Hi,
>
> Is a client robot a real OS thread? I'm using web polygrah in Linux,
> but I doesn't see multiple threads in the OS during a test with 500
> robots.
>

Polygraph client and server processes are single-threaded.  All Robot
and Server agents are running in a single thread.

Regards,
  Dmitry

> Thanks,
> Kevin
> _______________________________________________
> Users mailing list
> Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
> http://www.web-polygraph.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users