[R] Simulating web requests

Rui Barradas ruipbarradas at sapo.pt
Wed Jun 27 12:40:53 CEST 2012


Hello,

Homework?
There's a no homework rule but see inline.

Em 27-06-2012 10:20, Mohan Radhakrishnan escreveu:
> Hi,
>
>           I am looking for some assistance with these requirements.  We
> are trying to simulate web requests to hit a web applications. Let's
> assume I have a url to hit that requires a username and password.
>
>
>
> 1.	These web requests should have exponential inter arrival times.

Poisson process. See any introductory text.
And see the help page for ?rexp

> 2.	Generate self-similar traffic. I am not very sure about the
> properties of this traffic. Is Variance Time plot used for analyzing if
> the data received from this simulation is self-similar ?

See the argument 'rate' in the help page above. Set it to a single value.

>
>
>
> How does R help in creating a program that can generate this traffic ?
>
>

Simply by making of this a straightforward to program an assignment.

Hope this helps,

Rui Barradas
>
>
>
> Thanks,
>
> Mohan
>
>
>
> DISCLAIMER:\ ===============...{{dropped:31}}
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list