I have a requirement to simulate a network traffic which is Poisson and Bursty (Long or Heavy Tailed) inter arrival times. I could do the Poisson part as

delay = - log(1 - rand.nextDouble()) * delay;

However, I am stuck with simulating the Bursty traffic simulation. Could someone hint/point me to the right web resource or code to achieve this? Thanks..

有帮助吗?

解决方案

The easiest and safest thing might be to download a library that supports various types of long-tailed distributions, such as a Pareto distribution, and call that API's nextRandom method (or the equivalent).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top