Re: How to randomize active robots
perf tester <[email protected]> Wed, 9 Mar 2016 17:17:16 -0800
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <CALtkgjFKC-cTUPg9T1JK1y2sVDfRqq8a+jJmYvF1MxQKa77HFA@mail.gmail.com> |
--===============4928970292463489564== Content-Type: multipart/alternative; boundary=001a1134c7923c3a9a052da7933a --001a1134c7923c3a9a052da7933a Content-Type: text/plain; charset=UTF-8 Hi Alex, Thanks for the reply. The second part of your reply has detailed explanation for my question and possible solution. And it is very useful feature. For now, I will play with idle and busy period durations and see if can achieve my requirements. Thanks, Krish. On Wed, Mar 9, 2016 at 10:50 AM, Alex Rousskov < [email protected]> wrote: > On 03/08/2016 12:24 AM, perf tester wrote: > > > I would like randomize the active robots. For example, Out of 100 > > robots configured in the test, i can limit 5 robots to be active. But > > the same robots are used for the entire test duration. I would like > > the tool to pickup the next 5 robots from the remaining 95 robots > > configured until all the robots are used 5 at a time. > > You would like Polygraph to "pickup the next 5 robots" _when_? > > If your requirements are flexible, and you do not need Polygraph to > maintain exactly N active robots at any given time, then you may be able > to achieve something similar using Robot sessions: > > > http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Session > > I have not tested it, but I suspect that by selecting the right > combination of average idle and busy period durations while randomizing > idle_period_duration, you may achieve a steady state where 5 > random/different robots out of 95 robots are active at most times. > > > If you need more precise control and convenience, then Polygraph changes > would be required. For example, one could add PGL knobs that would > replace one active robot with another while maintaining a configured > robot population level. Polygraph already has code to maintaining a > configured robot population level, but it currently does not add or > remove robots unless that level changes. This would be a generally > useful feature IMO. > > > HTH, > > Alex. > > --001a1134c7923c3a9a052da7933a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Alex,<div><br></div><div>Thanks for the reply. The seco= nd part of your reply has detailed explanation for my question and possible= solution. And it is very useful feature.</div><div><br></div><div><span st= yle=3D"font-size:12.8px">For now, I will play with=C2=A0</span><span style= =3D"font-size:12.8px">idle and busy period durations=C2=A0and see if can=C2= =A0achieve=C2=A0my requirements.</span></div><div><span style=3D"font-size:= 12.8px"><br></span></div><div><span style=3D"font-size:12.8px">Thanks,</spa= n></div><div><span style=3D"font-size:12.8px">Krish.</span></div></div><div= class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Mar 9, 2016 a= t 10:50 AM, Alex Rousskov <span dir=3D"ltr"><<a href=3D"mailto:rousskov@= measurement-factory.com" target=3D"_blank">[email protected]= </a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin= :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">O= n 03/08/2016 12:24 AM, perf tester wrote:<br> <br> > I would like randomize the active robots. For example, Out of 100<br> > robots configured in the test, i can limit 5 robots to be active. But<= br> > the same robots are used for the entire test duration. I would like<br= > > the tool to pickup the next 5 robots from the remaining 95 robots<br> > configured until all the robots are used 5 at a time.<br> <br> </span>You would like Polygraph to "pickup the next 5 robots" _wh= en_?<br> <br> If your requirements are flexible, and you do not need Polygraph to<br> maintain exactly N active robots at any given time, then you may be able<br= > to achieve something similar using Robot sessions:<br> <br> <a href=3D"http://www.web-polygraph.org/docs/reference/pgl/types.html#type:= docs/reference/pgl/types/Session" rel=3D"noreferrer" target=3D"_blank">http= ://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/= pgl/types/Session</a><br> <br> I have not tested it, but I suspect that by selecting the right<br> combination of average idle and busy period durations while randomizing<br> idle_period_duration, you may achieve a steady state where 5<br> random/different robots out of 95 robots are active at most times.<br> <br> <br> If you need more precise control and convenience, then Polygraph changes<br= > would be required. For example, one could add PGL knobs that would<br> replace one active robot with another while maintaining a configured<br> robot population level. Polygraph already has code to maintaining a<br> configured robot population level, but it currently does not add or<br> remove robots unless that level changes. This would be a generally<br> useful feature IMO.<br> <br> <br> HTH,<br> <br> Alex.<br> <br> </blockquote></div><br></div> --001a1134c7923c3a9a052da7933a-- --===============4928970292463489564== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Users mailing list [email protected] http://lists.web-polygraph.org/mailman/listinfo/users --===============4928970292463489564==--