开发者

Bursty packet traffic in Java

I have a requirement to simulate a network traffic which is Poiss开发者_C百科on 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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜